VirtualBox

Changeset 101608 in vbox


Ignore:
Timestamp:
Oct 26, 2023 5:03:48 PM (11 months ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10513: UIEditor: Activate children layouts after filter being applied; The reason is that visibility can change for children of already hidden tab-widget tabs, layouts not being activated automatically in such cases.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIEditor.cpp

    r101454 r101608  
    3131#include <QAbstractItemView>
    3232#include <QLabel>
     33#include <QLayout>
    3334#include <QRegularExpression>
    3435#include <QTabWidget>
     
    105106    else
    106107        setVisible(fVisible);
     108
     109    /* Finally make sure layouts are freshly
     110     * activated after visibility changes: */
     111    foreach (QLayout *pLayout, findChildren<QLayout*>())
     112        pLayout->activate();
    107113}
    108114
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