Author: mareshkau
Date: 2008-07-21 12:52:05 -0400 (Mon, 21 Jul 2008)
New Revision: 9197
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/editor/VpeResizerMouseListener.java
Log:
JBIDE-2505, crash of eclipse during resizing was fixed
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/editor/VpeResizerMouseListener.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/editor/VpeResizerMouseListener.java 2008-07-21
16:02:10 UTC (rev 9196)
+++
trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/editor/VpeResizerMouseListener.java 2008-07-21
16:52:05 UTC (rev 9197)
@@ -52,6 +52,9 @@
if (XulRunnerConstants.EVENT_NAME_MOUSEDOWN.equals(mouseEvent.getType())) {
mouseDown(mouseEvent);
+ //Added By Max Areshkau without this code, when we resize, eclipse is crashes
+ event.preventDefault();
+ event.stopPropagation();
} else if (XulRunnerConstants.EVENT_NAME_MOUSEUP.equals(mouseEvent.getType())) {
mouseUp(mouseEvent);
}
Show replies by date