Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv7658/src/net/sourceforge/bprocessor/gl
Modified Files:
Editor.java
Log Message:
Index: Editor.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/Editor.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** Editor.java 22 Dec 2009 13:51:52 -0000 1.16
--- Editor.java 1 Dec 2010 10:28:04 -0000 1.17
***************
*** 404,412 ****
glc.removeMouseMotionListener(tool);
glc.removeKeyListener(tool);
! if (mode == Tool.PREVIOUS_TOOL) {
! tool = ToolFactory.getFactory(this).get(Tool.PREVIOUS_TOOL);
! } else {
! tool = ToolFactory.getFactory(this).get(mode);
! }
if (tool != null) {
glc.addMouseListener(tool);
--- 404,408 ----
glc.removeMouseMotionListener(tool);
glc.removeKeyListener(tool);
! tool = ToolFactory.getFactory(this).get(mode);
if (tool != null) {
glc.addMouseListener(tool);
|