From: jfa Date: Tue, 23 Oct 2007 07:10:54 +0000 (+0000) Subject: NPAL17241: EDF590: Keyboard shortcuts for removing and renaming an object. X-Git-Tag: before_mergefrom_MERGE_MULTIPR_EVOLUTION_29Oct07~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b50c7b9ea3c39a30db9d5763ea22fcd3eb3ef688;p=modules%2Fvisu.git NPAL17241: EDF590: Keyboard shortcuts for removing and renaming an object. --- diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index ffef44f4..85048f08 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -2087,7 +2087,7 @@ VisuGUI 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(), @@ -2158,7 +2158,8 @@ VisuGUI 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(),