minor
authorAlexey Pegov <alexey.pegov@jetbrains.com>
Tue, 10 Aug 2010 09:31:50 +0000 (13:31 +0400)
committerAlexey Pegov <alexey.pegov@jetbrains.com>
Tue, 10 Aug 2010 09:31:50 +0000 (13:31 +0400)
platform/platform-impl/src/com/intellij/ide/ui/LafManagerImpl.java

index 2e1c6f6d74c59db4d91ba1291ebd70dd725a3d6d..c3c279f8631b88f8696619eaff8e06f0ada10124 100644 (file)
@@ -298,7 +298,7 @@ public final class LafManagerImpl extends LafManager implements ApplicationCompo
       }else{ // UNIXes (Linux and MAC) go here
         popupWeight=MEDIUM_WEIGHT_POPUP;
       }
-    } else if (HEAVY_WEIGHT_POPUP.equals(popupWeight) && !MEDIUM_WEIGHT_POPUP.equals(popupWeight)) {
+    } else if (!HEAVY_WEIGHT_POPUP.equals(popupWeight) && !MEDIUM_WEIGHT_POPUP.equals(popupWeight)) {
       throw new IllegalStateException("unknown value of property -Didea.popup.weight: " + popupWeight);
     }