Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
Add tooltip for smart edit mode
Browse files Browse the repository at this point in the history
Signed-off-by: Taylor Smock <[email protected]>
  • Loading branch information
tsmock committed Jun 1, 2023
1 parent ebcfa06 commit 3a38ab8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,14 @@ public TrafficSignFilter() {
lbox.setSelected(true);
lbox.putClientProperty("layer", layer[0]);
// TODO remove when it listens to layers.
// Maybe get rid of Traffic SIgn/Point object layer filters (no longer needed due to separate layers) OR
// Maybe get rid of Traffic Sign/Point object layer filters (no longer needed due to separate layers) OR
// clicking on them adds the appropriate layer. Affect hide/show action of layers instead of adding filters?
DeveloperToggleAction.addVisibilitySwitcher(lbox);
}

JCheckBox smartEditModeBox = new JCheckBox(I18n.tr("Smart Edit Mode"));
smartEditModeBox.setToolTipText(
I18n.tr("Add Mapillary Objects to OpenStreetMap; some additional client-side filtering will occur."));
smartEditModeBox.setSelected(Boolean.TRUE.equals(MapillaryProperties.SMART_EDIT.get()));
MapillaryProperties.SMART_EDIT.addListener(l -> updateSmartEdit(l, smartEditModeBox));
smartEditModeBox.addItemListener(l -> smartEditMode(l.getStateChange() == ItemEvent.SELECTED));
Expand Down

0 comments on commit 3a38ab8

Please sign in to comment.