VirtualBox

Changeset 100813 in vbox


Ignore:
Timestamp:
Aug 6, 2023 1:01:27 PM (16 months ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10496, bugref:9080. Supress the settings widget's signals as we show it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoCreator.cpp

    r100812 r100813  
    411411        m_settings.m_customOptions = settings.m_customOptions;
    412412    if (m_settings.m_fShowHiddenObjects != settings.m_fShowHiddenObjects)
     413    {
    413414        m_settings.m_fShowHiddenObjects = settings.m_fShowHiddenObjects;
     415        if (m_pHostBrowser)
     416            m_pHostBrowser->showHideHiddenObjects(settings.m_fShowHiddenObjects);
     417    }
    414418}
    415419
     
    605609
    606610    if (fShown)
     611    {
     612        m_pSettingsWidget->blockSignals(true);
    607613        m_pSettingsWidget->setSettings(m_settings);
     614        m_pSettingsWidget->blockSignals(false);
     615    }
    608616
    609617    emit sigSettingDialogToggle(fShown);
     
    884892            stream << "\n";
    885893            stream << customOptions().join("\n");
    886             printf("%s\n", qPrintable(customOptions().join("\n")));
    887894        }
    888895        file.close();
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