It is now possible to remove a BufferViewConfig from a BufferViewFilter by calling...
[quassel.git] / 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 {