diff --git a/gui/ConsoleWindow.cpp b/gui/ConsoleWindow.cpp index 62908d293..467008b6d 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());