Changeset 1714

Show
Ignore:
Timestamp:
01/16/12 18:47:59 (4 months ago)
Author:
picard09
Message:

- small bug fix

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/org/rapla/gui/toolkit/RaplaTree.java

    r1625 r1714  
    228228        } 
    229229        public void mouseClicked(MouseEvent me) { 
    230             if (me.getClickCount() == 2 ) { 
     230            if (me.getClickCount() == 2 && jTree.getSelectionPath() != null ) { 
    231231                final Object lastPathComponent = jTree.getSelectionPath().getLastPathComponent(); 
    232232                if ( lastPathComponent instanceof TreeNode)