diff options
author | Stiepen22 <stiepen22@gmx.de> | 2013-09-06 23:58:10 +0200 |
---|---|---|
committer | Stiepen22 <stiepen22@gmx.de> | 2013-09-06 23:58:10 +0200 |
commit | c985f68b729454b9f3c7188e0b2f1af4530411be (patch) | |
tree | 0ae1c5017e748c23eaf6549639034974eb0990bd /gui | |
parent | 3fd2d025a1aa0bbc72ac69a34828ef5942255143 (diff) | |
download | MultiMC-c985f68b729454b9f3c7188e0b2f1af4530411be.tar MultiMC-c985f68b729454b9f3c7188e0b2f1af4530411be.tar.gz MultiMC-c985f68b729454b9f3c7188e0b2f1af4530411be.tar.lz MultiMC-c985f68b729454b9f3c7188e0b2f1af4530411be.tar.xz MultiMC-c985f68b729454b9f3c7188e0b2f1af4530411be.zip |
Made main window hide on instace exit
Diffstat (limited to 'gui')
-rw-r--r-- | gui/consolewindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/consolewindow.cpp b/gui/consolewindow.cpp index f95d2742..04b77285 100644 --- a/gui/consolewindow.cpp +++ b/gui/consolewindow.cpp @@ -97,4 +97,5 @@ void ConsoleWindow::on_btnKillMinecraft_clicked() void ConsoleWindow::onEnded() { ui->btnKillMinecraft->setEnabled(false); + if (!proc->exitCode()) this->close(); } |