Ignore:
Timestamp:
29.08.2009 15:51:00 (3 years ago)
Author:
Gubaer
Message:

fixed #2367: panel will be empty when undocked from minimized state
cleanup in Toggle Dialog
new: toggle dialog remember position when detached
new: title in toggle dialog
NOTE: this changeset probably breaks plugins, in particular the validator plugin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/IconToggleButton.java

    r1169 r2005  
    2828 
    2929        Object o = action.getValue(Action.SHORT_DESCRIPTION); 
    30         if (o != null) 
     30        if (o != null) { 
    3131            setToolTipText(o.toString()); 
     32        } 
    3233 
    3334        action.addPropertyChangeListener(this); 
     
    4445            setSelected((Boolean)evt.getNewValue()); 
    4546            requestFocusInWindow(); 
     47        } else if (evt.getPropertyName().equals("selected")) { 
     48            setSelected((Boolean)evt.getNewValue()); 
    4649        } 
    4750    } 
Note: See TracChangeset for help on using the changeset viewer.