Patch #1038 2006-05-08 20:50

sethjackson

Fix "bug" with new wxFNB
Download
1038-Fix_bug_with_n.patch (631 bytes)
Category
Application::Bugfix
Status
Rejected
Close date
2006-05-09 08:28
Assigned to
 
Index: src/sdk/messagemanager.cpp
===================================================================
--- src/sdk/messagemanager.cpp    (revision 2421)
+++ src/sdk/messagemanager.cpp    (working copy)
@@ -337,8 +337,6 @@
         SetLogImage(id, ls->bitmap);
         ls->visible = true;
 
-        log->Show(false);
-
         if (id == m_DebugLog)
             cfg->Write(_T("/has_debug_log"), (bool)true);
     }
@@ -350,8 +348,6 @@
             m_pNotebook->RemovePage(id);
         ls->visible = false;
 
-        log->Show(false);
-
         if (id == m_DebugLog)
             cfg->Write(_T("/has_debug_log"), (bool)false);
     }
sethjackson 2006-05-08 20:50
mandrav 2006-05-09 08:28

Your patch is not correct and it introduces other problematic behaviour.

But the real fix is there. Just change the first "log->Show(false);" to "log->Show(true);" and all will be fine :)

Thanks for pointing out the problem.