]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
NPAL17241: EDF590: Keyboard shortcuts for removing and renaming an object.
authorjfa <jfa@opencascade.com>
Tue, 23 Oct 2007 06:50:10 +0000 (06:50 +0000)
committerjfa <jfa@opencascade.com>
Tue, 23 Oct 2007 06:50:10 +0000 (06:50 +0000)
src/VISUGUI/VisuGUI.cxx

index ae1bb860a11376e4ca6357d0cf1e88e6a0ef9ea7..fc85a1428c84a6c4ede917541db18c1949e14620 100644 (file)
@@ -2162,7 +2162,7 @@ createActions()
                 this, SLOT(OnCreatePlot2dView()));
 
   createAction( VISU_DELETE_OBJS, tr("MEN_DELETE_OBJS"), QIconSet(),
-                tr("MEN_DELETE_OBJS"), "", 0, aParent, false,
+                tr("MEN_DELETE_OBJS"), "", Key_Delete, aParent, false,
                 this, SLOT(OnDeleteObjects()));
 
   createAction( VISU_SHOW_TABLE, tr("MEN_SHOW_TABLE"), QIconSet(),
@@ -2233,7 +2233,8 @@ createActions()
                 tr("MEN_CURVE_PROPS"), "", 0, aParent, false,
                 this, SLOT(OnCurveProperties()));
 
-  createAction( VISU_RENAME, tr("MEN_RENAME"), QIconSet(), tr("MEN_RENAME"), "", 0, aParent, false,
+  createAction( VISU_RENAME, tr("MEN_RENAME"), QIconSet(),
+                tr("MEN_RENAME"), "", Key_F2, aParent, false,
                 this, SLOT(OnRename()));
 
   createAction( VISU_EDIT_CONTAINER, tr("MEN_EDIT_CONTAINER"), QIconSet(),