fixing a bug where newly added bufferviews are not shown in the dialog
authorMarcus Eggenberger <egs@quassel-irc.org>
Mon, 11 Aug 2008 14:01:16 +0000 (16:01 +0200)
committerMarcus Eggenberger <egs@quassel-irc.org>
Mon, 11 Aug 2008 14:01:16 +0000 (16:01 +0200)
src/qtui/settingspages/bufferviewsettingspage.cpp

index 462b214..5282f7c 100644 (file)
@@ -41,7 +41,7 @@ BufferViewSettingsPage::BufferViewSettingsPage(QWidget *parent)
   ui.settingsGroupBox->setEnabled(false);
   ui.bufferViewPreview->setEnabled(false);
 
-  setEnabled(Client::isConnected());  // need a core connection!
+  coreConnectionStateChanged(Client::isConnected());  // need a core connection!
   connect(Client::instance(), SIGNAL(coreConnectionStateChanged(bool)), this, SLOT(coreConnectionStateChanged(bool)));
   connect(ui.bufferViewList->selectionModel(), SIGNAL(selectionChanged(const QItemSelection &, const QItemSelection &)),
          this, SLOT(bufferViewSelectionChanged(const QItemSelection &, const QItemSelection &)));