Changeset 68456 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Aug 18, 2017 9:59:34 AM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 117599
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp
r68455 r68456 674 674 AssertMsgReturnVoid(pItem, ("Current item should be selected!\n")); 675 675 676 /* Show Clone VM wizard: */ 677 UISafePointerWizard pWizard = new UIWizardCloneVM(this, pItem->machine()); 676 /* Lock the action preventing cascade calls: */ 677 actionPool()->action(UIActionIndexST_M_Machine_S_Clone)->setEnabled(false); 678 679 /* Use the "safe way" to open stack of Mac OS X Sheets: */ 680 QWidget *pWizardParent = windowManager().realParentWindow(this); 681 UISafePointerWizard pWizard = new UIWizardCloneVM(pWizardParent, pItem->machine()); 682 windowManager().registerNewParent(pWizard, pWizardParent); 678 683 pWizard->prepare(); 679 684 pWizard->exec(); 680 685 if (pWizard) 681 686 delete pWizard; 687 688 /* Unlock the action allowing further calls: */ 689 actionPool()->action(UIActionIndexST_M_Machine_S_Clone)->setEnabled(true); 682 690 } 683 691
Note:
See TracChangeset
for help on using the changeset viewer.