Made main window hide on instace exit

This commit is contained in:
Stiepen22 2013-09-06 23:58:10 +02:00
parent 3fd2d025a1
commit c985f68b72

View File

@ -97,4 +97,5 @@ void ConsoleWindow::on_btnKillMinecraft_clicked()
void ConsoleWindow::onEnded()
{
ui->btnKillMinecraft->setEnabled(false);
if (!proc->exitCode()) this->close();
}