Some fixes to connection manager.
[jenirok] / src / common / enirocoreconfig.cpp
index 86af526..8c09152 100644 (file)
@@ -90,6 +90,11 @@ bool EniroCoreConfig::readyToSearch()
 {
     load();
 
+    if(config_[SITE_COLUMN] != "fi")
+    {
+        return true;
+    }
+
     return !config_[USERNAME_COLUMN].isEmpty() && !config_[PASSWORD_COLUMN].isEmpty();
 }