Patch #3523 2013-11-14 12:41

bat

Prevent 2 query for unsaved projets when closing workspace
Download
3523-Prevent_2_quer.patch (529 bytes)
Category
Application::Bugfix
Status
Accepted
Close date
2013-12-30 13:18
Assigned to
tpetrov
Index: projectmanager.cpp
===================================================================
--- projectmanager.cpp    (revision 9447)
+++ projectmanager.cpp    (working copy)
@@ -579,7 +579,8 @@
             m_IsClosingWorkspace = false;
             return false;
         }
-        if (!CloseAllProjects(false))
+        // m_ui->QueryCloseWorkspace asked for saving workspace AND projects, no need to do again
+        if (!CloseAllProjects(true))
         {
             m_IsClosingWorkspace = false;
             return false;
tpetrov 2013-12-30 13:18

In svn