- Timestamp:
- Aug 15, 2012 5:48:49 PM (12 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserHandlerKeyboard.cpp
r42656 r42830 299 299 { 300 300 /* Start embedded editing focus item: */ 301 model()-> focusItem()->startEditing();301 model()->startEditing(); 302 302 /* Filter that event out: */ 303 303 return true; -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserModel.cpp
r42814 r42830 454 454 /* Notify listener about root-item relayouted: */ 455 455 emit sigRootItemResized(root()->geometry().size(), root()->minimumWidthHint()); 456 } 457 458 void UIGChooserModel::startEditing() 459 { 460 sltStartEditingSelectedGroup(); 456 461 } 457 462 … … 778 783 void UIGChooserModel::sltStartEditingSelectedGroup() 779 784 { 785 /* Check if action is enabled: */ 786 if (!gActionPool->action(UIActionIndexSelector_Simple_Group_Rename)->isEnabled()) 787 return; 788 780 789 /* Only for single selected group: */ 781 790 if (!singleGroupSelected()) -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserModel.h
r42802 r42830 139 139 /* API: Layout stuff: */ 140 140 void updateLayout(); 141 142 /* API: Editing stuff: */ 143 void startEditing(); 141 144 142 145 /* API: Drag and drop stuff: */
Note:
See TracChangeset
for help on using the changeset viewer.