dbhub: Refresh the directory list when a database upload has finished

This commit is contained in:
Martin Kleusberg
2017-08-13 14:53:19 +02:00
parent 0da9e1c3e0
commit 38caf867bc
3 changed files with 15 additions and 1 deletions

View File

@@ -21,6 +21,9 @@ RemoteDock::RemoteDock(MainWindow* parent)
// Set up model
ui->treeStructure->setModel(remoteModel);
// Reload the directory tree when a database upload has finished
connect(&remoteDatabase, &RemoteDatabase::uploadFinished, this, &RemoteDock::setNewIdentity);
// Initial setup
reloadSettings();
}