Fix item order in ChoicePage
This commit is contained in:
parent
6bd5736d35
commit
6d60ca5e63
@ -95,8 +95,8 @@ ChoicePage::init( PartitionCoreModule* core, const OsproberEntryList& osproberEn
|
|||||||
iconSize ) );
|
iconSize ) );
|
||||||
grp->addButton( eraseButton->buttonWidget() );
|
grp->addButton( eraseButton->buttonWidget() );
|
||||||
|
|
||||||
m_itemsLayout->addWidget( alongsideButton );
|
|
||||||
m_itemsLayout->addWidget( eraseButton );
|
m_itemsLayout->addWidget( eraseButton );
|
||||||
|
m_itemsLayout->addWidget( alongsideButton );
|
||||||
m_itemsLayout->setSpacing( CalamaresUtils::defaultFontHeight() / 2 );
|
m_itemsLayout->setSpacing( CalamaresUtils::defaultFontHeight() / 2 );
|
||||||
|
|
||||||
if ( osproberEntries.count() == 0 )
|
if ( osproberEntries.count() == 0 )
|
||||||
@ -203,6 +203,9 @@ ChoicePage::init( PartitionCoreModule* core, const OsproberEntryList& osproberEn
|
|||||||
m_itemsLayout->addWidget( somethingElseButton );
|
m_itemsLayout->addWidget( somethingElseButton );
|
||||||
grp->addButton( somethingElseButton->buttonWidget() );
|
grp->addButton( somethingElseButton->buttonWidget() );
|
||||||
|
|
||||||
|
//DEBUG:
|
||||||
|
alongsideButton->show();
|
||||||
|
|
||||||
|
|
||||||
connect( alongsideButton->buttonWidget(), &QRadioButton::toggled,
|
connect( alongsideButton->buttonWidget(), &QRadioButton::toggled,
|
||||||
this, [ this ]( bool checked )
|
this, [ this ]( bool checked )
|
||||||
|
Loading…
Reference in New Issue
Block a user