changeset 8013:d62cb8404b84

[SCENEBUILDER] Additional fix for DTL-6790 (Add Zoom In (CMD +) and Zoom Out (CMD -) to Menubar > View > Zoom). Replaced CMD/- by CMD/SHIFT/- (because of RT-37805).
author Eric Le Ponner <eric.le.ponner@oracle.com>
date Tue, 09 Sep 2014 11:01:12 +0200
parents 2e40d9c0d7e4
children 926c9f860016
files apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/MenuBarController.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/MenuBarController.java	Tue Sep 09 10:24:55 2014 +0200
+++ b/apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/menubar/MenuBarController.java	Tue Sep 09 11:01:12 2014 +0200
@@ -1121,7 +1121,8 @@
         
         final MenuItem zoomOutMenuItem = new MenuItem(I18N.getString("menu.title.zoom.out"));
         zoomOutMenuItem.setUserData(new ZoomOutActionController());
-        zoomOutMenuItem.setAccelerator(new KeyCharacterCombination("-", modifier)); //NOI18N
+        zoomOutMenuItem.setAccelerator(new KeyCharacterCombination("+",  //NOI18N
+                KeyCombination.SHIFT_DOWN, modifier));
         zoomMenu.getItems().add(zoomOutMenuItem);
         
         zoomMenu.getItems().add(new SeparatorMenuItem());