fixed popup windows not having the right channel and the application

exiting when you close a popup
This commit is contained in:
fourtf
2018-04-20 22:54:09 +02:00
parent 5015633cc7
commit 3c10c59ce6
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -164,7 +164,9 @@ void Window::closeEvent(QCloseEvent *event)
this->closed.invoke();
QApplication::exit();
if (this->type == Window::Main) {
QApplication::exit();
}
}
} // namespace widgets