[Bug 69535] changing plugin modifies mdi mode

Alexander Dymo cloudtemple at mksat.net
Sat Dec 6 19:02:04 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=69535     
cloudtemple at mksat.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From cloudtemple at mksat.net  2003-12-06 19:01 -------
Subject: kdevelop/src

CVS commit by dymo: 

Save mdi settings (mdi mode) after switching the mode, but not before.
Reviewed by teatime.
CCMAIL: 69535-done at bugs.kde.org


  M +12 -12    mainwindow.cpp   1.61


--- kdevelop/src/mainwindow.cpp  #1.60:1.61
@@ -1165,5 +1165,4 @@ void MainWindow::switchToToplevelMode()
   m_bUiModeSwitchPending = true;
   
-  saveMDISettings();
   m_toggleViewbar->setEnabled(true);
   if (mdiMode() == KMdi::TabPageMode || mdiMode() == KMdi::IDEAlMode) {
@@ -1174,4 +1173,5 @@ void MainWindow::switchToToplevelMode()
   m_bUiModeSwitchPending = false;
   updateActionState();
+  saveMDISettings();
 }
 
@@ -1181,5 +1181,4 @@ void MainWindow::switchToChildframeMode(
   m_bUiModeSwitchPending = true;
   
-  saveMDISettings();
   m_toggleViewbar->setEnabled(true);
   if (mdiMode() == KMdi::TabPageMode || mdiMode() == KMdi::IDEAlMode) {
@@ -1190,4 +1189,5 @@ void MainWindow::switchToChildframeMode(
   m_bUiModeSwitchPending = false;
   updateActionState();
+  saveMDISettings();
 }
 
@@ -1197,5 +1197,4 @@ void MainWindow::switchToTabPageMode()
   m_bUiModeSwitchPending = true;
   
-  saveMDISettings();
   if (isViewTaskBarOn()) {
       slotToggleViewbar();
@@ -1206,4 +1205,5 @@ void MainWindow::switchToTabPageMode()
   m_bUiModeSwitchPending = false;
   updateActionState();
+  saveMDISettings();
 }
 
@@ -1213,5 +1213,4 @@ void MainWindow::switchToIDEAlMode()
   m_bUiModeSwitchPending = true;
   
-  saveMDISettings();
   if (isViewTaskBarOn()) {
       slotToggleViewbar();
@@ -1222,4 +1221,5 @@ void MainWindow::switchToIDEAlMode()
   m_bUiModeSwitchPending = false;
   updateActionState();
+  saveMDISettings();
 }




More information about the KDevelop-devel mailing list