[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/konqueror/keditbookmarks
From:       David Faure <faure () kde ! org>
Date:       2002-12-03 21:36:44
[Download RAW message or body]

CVS commit by faure: 

Moved createGUI() call to slotNewToolbarConfig(), so that Apply in KEditToolbar works.


  M +2 -3      toplevel.cpp   1.141


--- kdebase/konqueror/keditbookmarks/toplevel.cpp:1.140	Mon Dec  2 19:00:37 2002
@@ -285,15 +285,14 @@
    saveMainWindowSettings( KGlobal::config(), "MainWindow" );
    KEditToolbar dlg(actionCollection());
    connect(&dlg,SIGNAL( newToolbarConfig() ), this, SLOT( slotNewToolbarConfig() ));
-   if (dlg.exec()) {
-      createGUI();
-   }
+   dlg.exec();
 }
 
 // This is called when OK or Apply is clicked
 void KEBTopLevel::slotNewToolbarConfig()
 {
    applyMainWindowSettings( KGlobal::config(), "MainWindow" );
+   createGUI();
 }
 
 #define ITEM_TO_BK(item) static_cast<KEBListViewItem *>(item)->bookmark()

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic