connectionSelector_ = new ConnectionSelector(tr("Connect automatically on"), this);
QString selectedConnection = Settings::instance()->get("connection");
- connectionSelector_->selectByValue(selectedConnection);
+
+ if(connectionSelector_->selectByValue(selectedConnection) &&
+ selectedConnection == "gprs")
+ {
+ connectionSelector_->updateConnections();
+ }
QPushButton* submitButton = new QPushButton(tr("Save"), this);
connect(submitButton, SIGNAL(pressed()), this, SLOT(saveSettings()));