VirtualBox

Ignore:
Timestamp:
May 18, 2018 10:12:13 AM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: Adding an assert for the currentItem() in UISelectorWindow::sltOpenMachineSettingsDialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp

    r72256 r72257  
    630630                                                    const QString &strID /* = QString() */)
    631631{
     632    /* This slot should not be called when there is not selection: */
     633    AssertMsgReturnVoid(currentItem(), ("Current item should be selected!\n"));
     634
    632635    /* Check that we do NOT handling that already: */
    633636    if (actionPool()->action(UIActionIndexST_M_Machine_S_Settings)->data().toBool())
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette