diff --git a/Configuration.cpp b/Configuration.cpp index 0524da1f6..a2d618d68 100644 --- a/Configuration.cpp +++ b/Configuration.cpp @@ -2768,7 +2768,10 @@ void Configuration::impl::enumerate_rigs () } else { - ui_->rig_combo_box->addItem (r.key (), r.value ().model_number_); + int i; + for(i=1;irig_combo_box->count() && (r.key().toLower() > ui_->rig_combo_box->itemText(i).toLower());++i); + if (i < ui_->rig_combo_box->count()) ui_->rig_combo_box->insertItem (i, r.key (), r.value ().model_number_); + else ui_->rig_combo_box->addItem (r.key (), r.value ().model_number_); } }