From: eshe Date: Sun, 27 Jun 2010 20:13:56 +0000 (+0100) Subject: Small fix to connection selector. X-Git-Url: http://vcs.maemo.org/git/?p=jenirok;a=commitdiff_plain;h=9f12310c5e8648fa0f2f80a85a5f068892afb971 Small fix to connection selector. --- diff --git a/src/gui/connectionselector.cpp b/src/gui/connectionselector.cpp index 62657c9..a22cfeb 100644 --- a/src/gui/connectionselector.cpp +++ b/src/gui/connectionselector.cpp @@ -30,6 +30,8 @@ ButtonSelector(text, parent), loaded_(false), gprsIndex_(0) void ConnectionSelector::updateConnections() { + loaded_ = true; + QVariant currentValue = value(); addItems(); @@ -50,7 +52,6 @@ void ConnectionSelector::updateConnections() selectByValue(currentValue); - loaded_ = true; } void ConnectionSelector::setVisible(bool visible)