diff options
-rw-r--r-- | src/Authoring/Studio/MainFrm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Authoring/Studio/MainFrm.cpp b/src/Authoring/Studio/MainFrm.cpp index e0492d60..0aace15e 100644 --- a/src/Authoring/Studio/MainFrm.cpp +++ b/src/Authoring/Studio/MainFrm.cpp @@ -1506,7 +1506,7 @@ void CMainFrame::onViewResetLayout() settings.remove(stateKey); // Prevent saving geometry and state, and exit m_resettingLayout = true; - close(); + QTimer::singleShot(0, this, &CMainFrame::close); } } |