Changeset 12637 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java
- Timestamp:
- 2017-08-24T23:29:01+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java
r12620 r12637 68 68 import org.openstreetmap.josm.data.imagery.ImageryInfo; 69 69 import org.openstreetmap.josm.data.imagery.ImageryLayerInfo; 70 import org.openstreetmap.josm.gui.MainApplication; 70 71 import org.openstreetmap.josm.gui.tagging.presets.TaggingPreset; 71 72 import org.openstreetmap.josm.gui.util.GuiHelper; … … 502 503 t.remove(res); 503 504 Main.pref.putCollection("toolbar", t); 504 Main .toolbar.refreshToolbarControl();505 MainApplication.getToolbar().refreshToolbarControl(); 505 506 } 506 507 }); … … 523 524 p.setVisible(true); 524 525 // refresh toolbar to try using changed shortcuts without restart 525 Main .toolbar.refreshToolbarControl();526 MainApplication.getToolbar().refreshToolbarControl(); 526 527 } 527 528 }); … … 987 988 } 988 989 Main.pref.putCollection("toolbar", t); 989 Main .toolbar.refreshToolbarControl();990 MainApplication.getToolbar().refreshToolbarControl(); 990 991 return false; 991 992 } … … 1214 1215 } 1215 1216 Main.pref.putCollection("toolbar", t); 1216 Main .toolbar.refreshToolbarControl();1217 MainApplication.getToolbar().refreshToolbarControl(); 1217 1218 } 1218 1219
Note:
See TracChangeset
for help on using the changeset viewer.