misc bugfixes and enchantments
[irwi] / src / selectremotedlg.cpp
index a3c315f..2ea45fc 100644 (file)
@@ -46,10 +46,10 @@ SelectRemoteDlg::SelectRemoteDlg(QWidget *parent)
             this, SLOT(downloadRemote()));
 
     this->setLayout(layout);
+    setBusy(true);
     connect(&remoteDBMgr, SIGNAL(dbReady(RemoteDB*)),
             this, SLOT(setDB(RemoteDB*)));
     remoteDBMgr.getDBAsync();
-    setBusy(true);
 }
 
 
@@ -106,6 +106,8 @@ void SelectRemoteDlg::downloadRemote()
         connect(currentModel->remote(), SIGNAL(saveFinished()),
                 this, SLOT(close()));
         currentModel->remote()->saveToFile();
+
+        emit remoteChanged(*(currentModel->remote()));
     }
 }