Patch #2844 2009-10-29 22:33
zini
Do not add saved projects to recent list anymore- Download
- 2844-Do_not_add_sav.patch (997 bytes)
- Category
- Application::Refinement
- Status
- Rejected
- Close date
- 2009-10-30 07:59
- Assigned to
- mortenmacfly
Index: src/src/main.cpp
===================================================================
--- src/src/main.cpp    (revision 5892)
+++ src/src/main.cpp    (working copy)
@@ -2572,16 +2572,14 @@
 void MainFrame::OnFileSaveProject(wxCommandEvent& event)
 {
     // no need to call SaveActiveProjectAs(), because this is handled in cbProject::Save()
-    if (Manager::Get()->GetProjectManager()->SaveActiveProject())
-        AddToRecentProjectsHistory(Manager::Get()->GetProjectManager()->GetActiveProject()->GetFilename());
+    Manager::Get()->GetProjectManager()->SaveActiveProject();
     DoUpdateStatusBar();
     DoUpdateAppTitle();
 }
 
 void MainFrame::OnFileSaveProjectAs(wxCommandEvent& event)
 {
-    if (Manager::Get()->GetProjectManager()->SaveActiveProjectAs())
-        AddToRecentProjectsHistory(Manager::Get()->GetProjectManager()->GetActiveProject()->GetFilename());
+    Manager::Get()->GetProjectManager()->SaveActiveProjectAs();
     DoUpdateStatusBar();
     DoUpdateAppTitle();
 }
History
mortenmacfly 2009-10-30 07:59
        This will break the recent project list completely. Rejected.