Ignore:
Timestamp:
2018-01-15T10:39:46+01:00 (7 years ago)
Author:
rebeccas95
Message:

Fixing ticket problems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/indoorhelper/src/controller/IndoorHelperController.java

    r34007 r34011  
    113113       // Shortcuts
    114114       SpaceShortcut = Shortcut.registerShortcut("mapmode:space",
    115                "", KeyEvent.VK_SPACE, Shortcut.DIRECT);
     115               tr("ConfirmObjectDrawing"), KeyEvent.VK_SPACE, Shortcut.DIRECT);
    116116       this.SpaceAction = new SpaceAction();
    117117       MainApplication.registerActionShortcut(SpaceAction, SpaceShortcut);
    118118
    119        EnterShortcut = Shortcut.registerShortcut("mapmode:ALT",
    120                "", KeyEvent.VK_ENTER, Shortcut.DIRECT);
     119       EnterShortcut = Shortcut.registerShortcut("mapmode:enter",
     120               tr("ConfirmMultipolygonSelection"), KeyEvent.VK_ENTER, Shortcut.DIRECT);
    121121       this.EnterAction = new EnterAction();
    122122       MainApplication.registerActionShortcut(EnterAction, EnterShortcut);
     
    264264   static class ToolHelpButtonListener implements ActionListener {
    265265
    266        @Override
    267        public void actionPerformed(ActionEvent e) {
    268            String topic = "indoorHelper";
    269            //Open HelpBrowser for short description about the plugin
    270            HelpBrowser.setUrlForHelpTopic(Optional.ofNullable(topic).orElse("/"));
    271        }
     266           @Override
     267           public void actionPerformed(ActionEvent e) {
     268                   String topic = "Plugin/indoorHelper";
     269                   //Open HelpBrowser for short description about the plugin
     270                   HelpBrowser.setUrlForHelpTopic(Optional.ofNullable(topic).orElse("/"));
     271           }
    272272   }
    273273
Note: See TracChangeset for help on using the changeset viewer.