Author: yradtsevich
Date: 2010-04-30 08:51:03 -0400 (Fri, 30 Apr 2010)
New Revision: 21826
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/editor/XulRunnerEditor.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-6203
Selection rectangle disappears when mouse cursor leaves the selected element.
- Outline code has been refactored.
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/editor/XulRunnerEditor.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/editor/XulRunnerEditor.java 2010-04-30
12:23:48 UTC (rev 21825)
+++
trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/editor/XulRunnerEditor.java 2010-04-30
12:51:03 UTC (rev 21826)
@@ -720,8 +720,10 @@
@Override
protected void onDispose() {
lastSelectedNode = null;
- flasher.dispose();
- flasher = null;
+ if (flasher != null) {
+ flasher.dispose();
+ flasher = null;
+ }
super.onDispose();
}