Changeset 4913 in josm


Ignore:
Timestamp:
Feb 9, 2012 2:08:26 PM (16 months ago)
Author:
framm
Message:

make tab pre-selection public so that plugins can pop up the preference editor with their own tab pre-selected.

File:
1 edited

Legend:

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

    r4843 r4913  
    2727import javax.swing.KeyStroke; 
    2828 
    29 import org.openstreetmap.josm.Main; 
    3029import org.openstreetmap.josm.actions.ExpertToggleAction; 
    3130import org.openstreetmap.josm.gui.SideButton; 
     
    118117    } 
    119118 
    120     void selectPreferencesTabByName(String name) { 
     119    public void selectPreferencesTabByName(String name) { 
    121120        tpPreferences.selectTabByName(name); 
    122121    } 
Note: See TracChangeset for help on using the changeset viewer.