diff --git a/src/qt/radiobox.cpp b/src/qt/radiobox.cpp index beede99053..b02c5a1596 100644 --- a/src/qt/radiobox.cpp +++ b/src/qt/radiobox.cpp @@ -111,11 +111,19 @@ template < typename Button > static void AddChoices( QButtonGroup *qtButtonGroup, QBoxLayout *qtBoxLayout, int count, const wxString choices[] ) { Button *btn; + bool isFirst = true; + while ( count-- > 0 ) { btn = new Button( wxQtConvertString( *choices++ )); qtButtonGroup->addButton( btn ); qtBoxLayout->addWidget( btn ); + + if ( isFirst ) + { + btn->setChecked(true); + isFirst = false; + } } }