VirtualBox

Changeset 69672 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 13, 2017 2:26:53 PM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:8900: Make sure Accept/Reset buttons are visible for Virtual Media Manager and Host Network Manager when they are opened with details opened as well.

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/hostnetwork/UIHostNetworkManager.cpp

    r68962 r69672  
    11391139    connect(buttonBox(), &QIDialogButtonBox::clicked,
    11401140            this, &UIHostNetworkManager::sltHandleButtonBoxClick);
     1141    // WORKAROUND:
     1142    // Since we connected signals later than extra-data loaded
     1143    // for signals above, we should handle that stuff here again:
     1144    button(ButtonType_Apply)->setVisible(gEDataManager->hostNetworkManagerDetailsExpanded());
     1145    button(ButtonType_Reset)->setVisible(gEDataManager->hostNetworkManagerDetailsExpanded());
    11411146}
    11421147
  • trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumManager.cpp

    r69607 r69672  
    24382438    connect(buttonBox(), &QIDialogButtonBox::clicked,
    24392439            this, &UIMediumManager::sltHandleButtonBoxClick);
     2440    // WORKAROUND:
     2441    // Since we connected signals later than extra-data loaded
     2442    // for signals above, we should handle that stuff here again:
     2443    button(ButtonType_Apply)->setVisible(gEDataManager->virtualMediaManagerDetailsExpanded());
     2444    button(ButtonType_Reset)->setVisible(gEDataManager->virtualMediaManagerDetailsExpanded());
    24402445
    24412446    /* Create progress-bar: */
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