Changeset 29851 in osm for applications/editors/josm/plugins/geochat/src/geochat/GeoChatPanel.java
- Timestamp:
- 2013-08-20T23:00:22+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/geochat/src/geochat/GeoChatPanel.java
r29590 r29851 15 15 import org.openstreetmap.josm.gui.dialogs.ToggleDialog; 16 16 import org.openstreetmap.josm.gui.layer.MapViewPaintable; 17 import org.openstreetmap.josm.gui.util.GuiHelper; 17 18 import org.openstreetmap.josm.tools.GBC; 18 19 import static org.openstreetmap.josm.tools.I18n.tr; … … 202 203 if( comment != null ) 203 204 title = title + " (" + comment + ")"; 204 String alarm = alarmLevel <= 0 ? "" : alarmLevel == 1 ? "* " : "!!! "; 205 setTitle(alarm + title); 205 final String alarm = (alarmLevel <= 0 ? "" : alarmLevel == 1 ? "* " : "!!! ") + title; 206 GuiHelper.runInEDT(new Runnable() { 207 public void run() { 208 setTitle(alarm); 209 } 210 }); 206 211 } 207 212
Note:
See TracChangeset
for help on using the changeset viewer.