summaryrefslogtreecommitdiff
path: root/contents/ui
diff options
context:
space:
mode:
Diffstat (limited to 'contents/ui')
-rw-r--r--contents/ui/main.qml17
1 files changed, 13 insertions, 4 deletions
diff --git a/contents/ui/main.qml b/contents/ui/main.qml
index 67857d4..6465a16 100644
--- a/contents/ui/main.qml
+++ b/contents/ui/main.qml
@@ -136,10 +136,19 @@ Item {
}
}
- PlasmaComponents3.Button {
- icon.name: "view-refresh"
- text: i18n("Refresh")
- onClicked: Kanvas.syncCanvas()
+ RowLayout {
+ PlasmaComponents3.Button {
+ icon.name: "view-refresh"
+ text: i18n("Refresh")
+ onClicked: Kanvas.syncCanvas()
+ }
+
+ PlasmaComponents3.Label {
+ id: offlineLabel
+ visible: networkStatus.networkStatus != "Connected"
+ text: "Network disconnected"
+ color: PlasmaCore.Theme.negativeTextColor
+ }
}
}
}