Changeset 33054 in osm for applications/editors/josm/plugins/smed/src/panels/PanelHaz.java
- Timestamp:
- 2016-11-12T04:42:33+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/src/panels/PanelHaz.java
r32767 r33054 1 // License: GPL. For details, see LICENSE file. 1 2 package panels; 2 3 … … 235 236 topmarkButton.setSelected(SmedAction.panelMain.mark.getTopmark() != Top.NOTOP); 236 237 topmarkButton.setVisible(SmedAction.panelMain.mark.testValid()); 237 Boolean lit = (SmedAction.panelMain.mark.getLightAtt(Att.COL, 0) != Col.UNKCOL) && !((String)SmedAction.panelMain.mark.getLightAtt(Att.CHR, 0)).isEmpty(); 238 Boolean lit = (SmedAction.panelMain.mark.getLightAtt(Att.COL, 0) != Col.UNKCOL) 239 && !((String) SmedAction.panelMain.mark.getLightAtt(Att.CHR, 0)).isEmpty(); 238 240 lightButton.setBorderPainted(lit); 239 241 lightButton.setSelected(lit);
Note:
See TracChangeset
for help on using the changeset viewer.