mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 08:15:17 +03:00
[Companion] Fix crash when closing main window while model/radio editor is open and cursor is in a field which has editingFinished() event handler.
This commit is contained in:
parent
f085f11ea8
commit
0f34bf3850
1 changed files with 1 additions and 0 deletions
|
@ -562,6 +562,7 @@ void MainWindow::closeEvent(QCloseEvent *event)
|
|||
g.mainWinGeo(saveGeometry());
|
||||
g.mainWinState(saveState());
|
||||
g.tabbedMdi(actTabbedWindows->isChecked());
|
||||
QApplication::closeAllWindows();
|
||||
mdiArea->closeAllSubWindows();
|
||||
if (mdiArea->currentSubWindow()) {
|
||||
event->ignore();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue