X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fgui%2Fsettingsdialog.cpp;h=9c407443bf1e3dab0768d1d40518693919c30b5d;hb=b7a9e838eaf1539637b2bf46a1907d7aa604bcd9;hp=10e4e2d94ea84c22420cc54e78346aeb186d1393;hpb=11dc201fad01443c74fd221774881e1daad94ea3;p=jenirok diff --git a/src/gui/settingsdialog.cpp b/src/gui/settingsdialog.cpp index 10e4e2d..9c40744 100644 --- a/src/gui/settingsdialog.cpp +++ b/src/gui/settingsdialog.cpp @@ -107,7 +107,12 @@ autostartSelector_(0), connectionSelector_(0), tabs_(0) 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()));