Bug 11569 fixed: F5 to navigate in the dock was incompatible with SciNotes, so replac... 51/10551/2
Calixte DENIZET [Wed, 20 Feb 2013 14:34:48 +0000 (15:34 +0100)]
Change-Id: Ie4383a1b7560702e2e491c6a8ffbe424e6f4a52c

scilab/CHANGES_5.4.X
scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/tab/SwingScilabTab.java

index 4b807cb..e5989ff 100644 (file)
@@ -241,6 +241,9 @@ Bug fixes
 
 * Bug #11549 fixed - Prefs window changed its dimension when hitting Default.
 
+* Bug #11569 fixed - F5 to navigate in the dock was incompatible with SciNotes.
+                     So replace F5 by shift+F6 to go to the previous tab. 
+
 * Bug #11711 fixed - xclick and xgetmouse did not work under Mac OS X.
 
 * Bug #11778 fixed - Bad color_map dims did not return an error.
index 3457ab6..e0c586c 100644 (file)
@@ -195,7 +195,7 @@ public class SwingScilabTab extends View implements SwingViewObject, SimpleTab,
         addFocusListener(this);
         setCallback(null);
 
-        getInputMap(WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke("F5"), ACTION_TOGGLE_PREVIOUS);
+        getInputMap(WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke("shift F6"), ACTION_TOGGLE_PREVIOUS);
     }
 
     /**
@@ -227,7 +227,7 @@ public class SwingScilabTab extends View implements SwingViewObject, SimpleTab,
         addFocusListener(this);
         setCallback(null);
 
-        getInputMap(WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke("F5"), ACTION_TOGGLE_PREVIOUS);
+        getInputMap(WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke("shift F6"), ACTION_TOGGLE_PREVIOUS);
     }
 
     /**