mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 19:50:05 +00:00
Reorder collapsible group initialization
This commit is contained in:
parent
04a539b93d
commit
106542e28a
1 changed files with 2 additions and 2 deletions
|
|
@ -46,14 +46,14 @@ CollapsibleGroup::~CollapsibleGroup()
|
|||
|
||||
void CollapsibleGroupImpl::Initialize()
|
||||
{
|
||||
self_->Expand();
|
||||
|
||||
QObject::connect(
|
||||
self_->ui->titleButton,
|
||||
&QAbstractButton::toggled,
|
||||
self_,
|
||||
[this](bool checked) { SetExpanded(checked); },
|
||||
Qt::DirectConnection);
|
||||
|
||||
self_->Expand();
|
||||
}
|
||||
|
||||
void CollapsibleGroup::SetContentsLayout(QLayout* layout)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue