diff options
Diffstat (limited to 'components/kube/qml/Kube.qml')
-rw-r--r-- | components/kube/qml/Kube.qml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/kube/qml/Kube.qml b/components/kube/qml/Kube.qml index afc7c83f..17e77ebe 100644 --- a/components/kube/qml/Kube.qml +++ b/components/kube/qml/Kube.qml | |||
@@ -104,6 +104,9 @@ Controls2.ApplicationWindow { | |||
104 | id: syncShortcut | 104 | id: syncShortcut |
105 | sequence: StandardKey.Refresh | 105 | sequence: StandardKey.Refresh |
106 | onActivated: { | 106 | onActivated: { |
107 | if (kubeViews.currentItem && kubeViews.currentItem.refresh) { | ||
108 | kubeViews.currentItem.refresh() | ||
109 | } | ||
107 | if (!!app.currentFolder) { | 110 | if (!!app.currentFolder) { |
108 | Kube.Fabric.postMessage(Kube.Messages.synchronize, {"folder": app.currentFolder}); | 111 | Kube.Fabric.postMessage(Kube.Messages.synchronize, {"folder": app.currentFolder}); |
109 | Kube.Fabric.postMessage(Kube.Messages.synchronize, {"accountId": app.currentAccount, "type": "folder"}) | 112 | Kube.Fabric.postMessage(Kube.Messages.synchronize, {"accountId": app.currentAccount, "type": "folder"}) |