forked from qt-creator/qt-creator
Options Dialog: Prevent ghost widget
Change-Id: I06fc5820bffc47234b6b3b653b970ceac12640b1 Reviewed-by: Robert Loehning <robert.loehning@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
committed by
Eike Ziller
parent
4385130538
commit
4897c4256d
@@ -382,7 +382,7 @@ void SettingsDialog::createGui()
|
||||
headerHLayout->addWidget(m_headerLabel);
|
||||
|
||||
m_stackedLayout->setMargin(0);
|
||||
m_stackedLayout->addWidget(new QWidget); // no category selected, for example when filtering
|
||||
m_stackedLayout->addWidget(new QWidget(this)); // no category selected, for example when filtering
|
||||
|
||||
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok |
|
||||
QDialogButtonBox::Apply |
|
||||
|
||||
Reference in New Issue
Block a user