changeset 1434:387bc365aac1 levelpanwidget

When the window is actually being closed, we need to close the prefs quickly (otherwise we get a crash on Mac)
author Chris Cannam
date Thu, 15 Dec 2016 14:40:20 +0000
parents 02e5ba5cc889
children 796cf6bc4b2a
files main/MainWindow.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/main/MainWindow.cpp	Thu Dec 15 11:54:12 2016 +0000
+++ b/main/MainWindow.cpp	Thu Dec 15 14:40:20 2016 +0000
@@ -3323,7 +3323,7 @@
     if (m_preferencesDialog &&
         m_preferencesDialog->isVisible()) {
         closeSession(); // otherwise we'll have to wait for prefs changes
-        m_preferencesDialog->applicationClosing(false);
+        m_preferencesDialog->applicationClosing(true);
     }
 
     closeSession();