mirror of
https://github.com/huderlem/porymap.git
synced 2026-09-08 00:45:39 -05:00
Close new options windows on project open
This commit is contained in:
@@ -2853,6 +2853,14 @@ void MainWindow::closeSupplementaryWindows() {
|
||||
delete this->shortcutsEditor;
|
||||
this->shortcutsEditor = nullptr;
|
||||
}
|
||||
if (this->projectSettingsEditor) {
|
||||
delete this->projectSettingsEditor;
|
||||
this->projectSettingsEditor = nullptr;
|
||||
}
|
||||
if (this->customScriptsEditor) {
|
||||
delete this->customScriptsEditor;
|
||||
this->customScriptsEditor = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::closeEvent(QCloseEvent *event) {
|
||||
|
||||
Reference in New Issue
Block a user