newly created buffer views are previewed properly in the settings dialog
authorMarcus Eggenberger <egs@quassel-irc.org>
Tue, 28 Oct 2008 00:48:45 +0000 (01:48 +0100)
committerMarcus Eggenberger <egs@quassel-irc.org>
Tue, 28 Oct 2008 00:48:51 +0000 (01:48 +0100)
src/qtui/settingspages/bufferviewsettingspage.cpp

index 6c05924..e629c3c 100644 (file)
@@ -198,7 +198,7 @@ void BufferViewSettingsPage::newBufferView(const QString &bufferViewName) {
   int fakeId = -1 * (_newBufferViews.count() + 1);
   BufferViewConfig *config = new BufferViewConfig(fakeId);
   config->setBufferViewName(bufferViewName);
-
+  config->setInitialized();
   QList<BufferId> bufferIds;
   if(config->addNewBuffersAutomatically()) {
     bufferIds = Client::networkModel()->allBufferIds();