summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-07-10 21:13:17 +0200
committerPetr Mrázek <peterix@gmail.com>2014-07-10 21:13:17 +0200
commit24698fe85fe85e21881fa69503c68b33e97775ea (patch)
tree90d110e4fd47697e5f83bb7aae04f50c17085f72
parent40c238442f154b05d8d4ce29e0a6bc0d2c6afdf4 (diff)
downloadMultiMC-24698fe85fe85e21881fa69503c68b33e97775ea.tar
MultiMC-24698fe85fe85e21881fa69503c68b33e97775ea.tar.gz
MultiMC-24698fe85fe85e21881fa69503c68b33e97775ea.tar.lz
MultiMC-24698fe85fe85e21881fa69503c68b33e97775ea.tar.xz
MultiMC-24698fe85fe85e21881fa69503c68b33e97775ea.zip
Fix #355
-rw-r--r--gui/ConsoleWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/ConsoleWindow.cpp b/gui/ConsoleWindow.cpp
index 62908d29..467008b6 100644
--- a/gui/ConsoleWindow.cpp
+++ b/gui/ConsoleWindow.cpp
@@ -206,7 +206,7 @@ void ConsoleWindow::closeEvent(QCloseEvent *event)
{
toggleConsole();
}
- else
+ else if(m_container->requestClose(event))
{
MMC->settings()->set("ConsoleWindowState", saveState().toBase64());
MMC->settings()->set("ConsoleWindowGeometry", saveGeometry().toBase64());