clean up
authorEugene Kudelevsky <Eugene.Kudelevsky@jetbrains.com>
Sat, 28 Nov 2009 14:33:07 +0000 (17:33 +0300)
committerEugene Kudelevsky <Eugene.Kudelevsky@jetbrains.com>
Sat, 28 Nov 2009 14:33:07 +0000 (17:33 +0300)
platform/lang-api/src/com/intellij/diagnostic/logging/LogConsolePreferences.java

index b5babc85bf35978608318ede4d50365eb469a1b0..fdb82ea8b889586dd59c9db6c329984f62ddc47e 100644 (file)
@@ -206,7 +206,9 @@ public class LogConsolePreferences extends LogFilterRegistrar {
     for (LogFilter logFilter : myRegisteredLogFilters.keySet()) {
       myRegisteredLogFilters.put(logFilter, false);
     }
-    setFilterSelected(filter, true);
+    if (filter != null) {
+      setFilterSelected(filter, true);
+    }
   }
 
   private void fireStateChanged(final LogFilter filter) {