It is now possible to remove a BufferViewConfig from a BufferViewFilter by calling...
authorMarcus Eggenberger <egs@quassel-irc.org>
Sun, 22 Jun 2008 18:37:09 +0000 (20:37 +0200)
committerMarcus Eggenberger <egs@quassel-irc.org>
Mon, 23 Jun 2008 11:12:21 +0000 (13:12 +0200)
src/uisupport/bufferviewfilter.cpp

index 04e3156..0fa57cd 100644 (file)
@@ -71,6 +71,12 @@ void BufferViewFilter::setConfig(BufferViewConfig *config) {
   }
 
   _config = config;
+
+  if(!config) {
+    invalidate();
+    return;
+  }
+
   if(config->isInitialized()) {
     configInitialized();
   } else {