Changeset 23158 in osm for applications/editors/josm
- Timestamp:
- 2010-09-14T17:05:10+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/toms/src/toms/seamarks/buoys/Buoy.java
r23156 r23158 520 520 } 521 521 522 c = getLightChar();522 c = LightChar[0]; 523 523 524 524 if (c.contains("+")) { … … 528 528 } 529 529 530 if (! getLightGroup().isEmpty())531 c = c + "(" + getLightGroup()+ ")";530 if (!LightGroup[0].isEmpty()) 531 c = c + "(" + LightGroup[0] + ")"; 532 532 if (tmp != null) 533 533 c = c + tmp; 534 534 535 c = c + " " + getLightColour();536 lp = getLightPeriod();535 c = c + " " + LightColour[0]; 536 lp = LightPeriod[0]; 537 537 if (!lp.isEmpty()) 538 538 c = c + " " + lp + "s"; … … 544 544 dlg.lM01Group.setVisible(true); 545 545 dlg.tfM01Group.setVisible(true); 546 dlg.tfM01Group.setText(getLightGroup()); 546 547 dlg.lM01RepeatTime.setVisible(true); 547 548 dlg.tfM01RepeatTime.setVisible(true); 548 549 if (isSectored()) { 550 dlg.rbM01Fired1.setSelected(false); 551 dlg.rbM01FiredN.setSelected(true); 549 552 if ((getSectorIndex() != 0) && (!LightChar[0].isEmpty())) 550 553 dlg.cbM01Kennung.setEnabled(false); … … 593 596 } 594 597 } else { 598 dlg.rbM01FiredN.setSelected(false); 599 dlg.rbM01Fired1.setSelected(true); 595 600 dlg.cbM01Kennung.setEnabled(true); 596 601 dlg.tfM01Group.setEnabled(true);
Note:
See TracChangeset
for help on using the changeset viewer.