Close new options windows on project open
This commit is contained in:
parent
f9a14c0d56
commit
5cf07c7f91
1 changed files with 8 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue