Bug #11823 fixed - Ctrl+F2 shortcut did not work on a selected block. 37/14537/2
Vladislav TRUBKIN [Mon, 19 May 2014 09:33:57 +0000 (11:33 +0200)]
Change-Id: I3fe752010cca72bddb970f4c1dac4fa1dcc8bc33

scilab/CHANGES_5.5.X
scilab/modules/xcos/src/java/org/scilab/modules/xcos/XcosTab.java

index caeaefc..b860ab6 100644 (file)
@@ -44,6 +44,8 @@ Xcos Bug Fixes
 * Bug #9996 fixed - The RELATION_OP box drawn in the work space is not compliant
                     to the programming.
 
+* Bug #11823 fixed - Ctrl+F2 shortcut did not work on a selected block.
+
 * Bug #12751 fixed - cdummy_ entry point was not found when using Code Generation.
 
 * Bug #13285 fixed - There was no appropriate example of the syntax for scifunc_block_m GUI
index a464bc0..998394c 100644 (file)
@@ -61,6 +61,7 @@ import org.scilab.modules.xcos.actions.CloseAction;
 import org.scilab.modules.xcos.actions.CompileAction;
 import org.scilab.modules.xcos.actions.DebugLevelAction;
 import org.scilab.modules.xcos.actions.DiagramBackgroundAction;
+import org.scilab.modules.xcos.actions.EditFormatAction;
 import org.scilab.modules.xcos.actions.ExportAction;
 import org.scilab.modules.xcos.actions.ExportAllAction;
 import org.scilab.modules.xcos.actions.ExternalAction;
@@ -474,6 +475,7 @@ public class XcosTab extends SwingScilabDockablePanel implements SimpleTab {
         format.add(alignMenu);
         format.addSeparator();
 
+        format.add(EditFormatAction.createMenu(diagram));
         format.add(BorderColorAction.createMenu(diagram));
         format.add(FilledColorAction.createMenu(diagram));
         format.addSeparator();