IDEA-68921 Resizable panes in IDEA Preferences dialog don't give a visual indication that they can be resized

This commit is contained in:
Evgeny Zakrevsky
2011-10-27 23:12:41 +04:00
parent 6e8bdafbb8
commit 39ce1dd7a4
@@ -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);
}