From 39ce1dd7a41aaeddb566af7be34f6c07518a4a8e Mon Sep 17 00:00:00 2001 From: Evgeny Zakrevsky Date: Thu, 27 Oct 2011 23:12:41 +0400 Subject: [PATCH] IDEA-68921 Resizable panes in IDEA Preferences dialog don't give a visual indication that they can be resized --- .../src/com/intellij/openapi/wm/impl/IdeGlassPaneImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/platform-impl/src/com/intellij/openapi/wm/impl/IdeGlassPaneImpl.java b/platform/platform-impl/src/com/intellij/openapi/wm/impl/IdeGlassPaneImpl.java index 2d78adde928f..1c91a8662140 100644 --- a/platform/platform-impl/src/com/intellij/openapi/wm/impl/IdeGlassPaneImpl.java +++ b/platform/platform-impl/src/com/intellij/openapi/wm/impl/IdeGlassPaneImpl.java @@ -429,9 +429,9 @@ public class IdeGlassPaneImpl extends JPanel implements IdeGlassPaneEx, IdeEvent } IdeEventQueue queue = IdeEventQueue.getInstance(); - if (!queue.containsDispatcher(this) && myPreprocessorActive) { + if (!queue.containsDispatcher(this) && (myPreprocessorActive || isVisible())) { queue.addDispatcher(this, null); - } else if (queue.containsDispatcher(this) && !myPreprocessorActive) { + } else if (queue.containsDispatcher(this) && !myPreprocessorActive && !isVisible()) { queue.removeDispatcher(this); }