Enough main window hiding magic for now

This commit is contained in:
Stiepen22 2013-09-07 00:02:05 +02:00
parent c985f68b72
commit 5cac21ca63

View File

@ -97,5 +97,6 @@ void ConsoleWindow::on_btnKillMinecraft_clicked()
void ConsoleWindow::onEnded()
{
ui->btnKillMinecraft->setEnabled(false);
if (!proc->exitCode()) this->close();
// TODO: Check why this doesn't work
if (!proc->exitCode()) this->close();
}