fixed popup windows not having the right channel and the application
exiting when you close a popup
This commit is contained in:
@@ -164,7 +164,9 @@ void Window::closeEvent(QCloseEvent *event)
|
||||
|
||||
this->closed.invoke();
|
||||
|
||||
QApplication::exit();
|
||||
if (this->type == Window::Main) {
|
||||
QApplication::exit();
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace widgets
|
||||
|
||||
Reference in New Issue
Block a user