From 6d60ca5e63547fcd0d3240147f9e54db626d8f2e Mon Sep 17 00:00:00 2001
From: Teo Mrnjavac <teo@kde.org>
Date: Thu, 25 Sep 2014 16:49:58 +0200
Subject: [PATCH] Fix item order in ChoicePage

---
 src/modules/partition/gui/ChoicePage.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/modules/partition/gui/ChoicePage.cpp b/src/modules/partition/gui/ChoicePage.cpp
index 67617e8a73..fce67cfa35 100644
--- a/src/modules/partition/gui/ChoicePage.cpp
+++ b/src/modules/partition/gui/ChoicePage.cpp
@@ -95,8 +95,8 @@ ChoicePage::init( PartitionCoreModule* core, const OsproberEntryList& osproberEn
                                                          iconSize ) );
     grp->addButton( eraseButton->buttonWidget() );
 
-    m_itemsLayout->addWidget( alongsideButton );
     m_itemsLayout->addWidget( eraseButton );
+    m_itemsLayout->addWidget( alongsideButton );
     m_itemsLayout->setSpacing( CalamaresUtils::defaultFontHeight() / 2 );
 
     if ( osproberEntries.count() == 0 )
@@ -203,6 +203,9 @@ ChoicePage::init( PartitionCoreModule* core, const OsproberEntryList& osproberEn
     m_itemsLayout->addWidget( somethingElseButton );
     grp->addButton( somethingElseButton->buttonWidget() );
 
+    //DEBUG:
+    alongsideButton->show();
+
 
     connect( alongsideButton->buttonWidget(), &QRadioButton::toggled,
              this, [ this ]( bool checked )
-- 
GitLab