VirtualBox

Ignore:
Timestamp:
Jul 12, 2011 1:15:59 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
72799
Message:

FE/Qt: VM selector: Protecting VM settings trigger from the dual-click.

File:
1 edited

Legend:

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

    r37878 r37897  
    701701                                 const QString &strMachineId /* = QString::null */)
    702702{
     703    /* Check that we do NOT handling that already: */
     704    if (mVmConfigAction->data().toBool())
     705        return;
     706    /* Remember that we handling that already: */
     707    mVmConfigAction->setData(true);
     708
    703709    /* Process href from VM details / description: */
    704710    if (!strCategoryRef.isEmpty() && strCategoryRef[0] != '#')
     
    732738    UISettingsDialogMachine dlg(this, pItem->id(), strCategory, strControl);
    733739    dlg.execute();
     740
     741    /* Remember that we do NOT handling that already: */
     742    mVmConfigAction->setData(false);
    734743}
    735744
Note: See TracChangeset for help on using the changeset viewer.

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