Small fix to connection selector.
authoreshe <jessehakanen@gmail.com>
Sun, 27 Jun 2010 20:13:56 +0000 (21:13 +0100)
committereshe <jessehakanen@gmail.com>
Sun, 27 Jun 2010 20:13:56 +0000 (21:13 +0100)
src/gui/connectionselector.cpp

index 62657c9..a22cfeb 100644 (file)
@@ -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)