Close new options windows on project open

This commit is contained in:
GriffinR 2023-09-28 16:26:56 -04:00
parent f9a14c0d56
commit 5cf07c7f91

View file

@ -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) {