Reload member device list when they change

This commit is contained in:
miruka
2020-07-08 17:26:52 -04:00
parent 8771ae2aae
commit 963b022f3d
5 changed files with 27 additions and 1 deletions

View File

@@ -5,6 +5,9 @@ import ".."
import "../.."
QtObject {
signal deviceUpdateSignal(string forAccount)
function onExitRequested(exitCode) {
Qt.exit(exitCode)
}
@@ -82,4 +85,9 @@ QtObject {
// print("clear", syncId)
ModelStore.get(syncId).clear()
}
function onDevicesUpdated(forAccount) {
deviceUpdateSignal(forAccount)
}
}