summaryrefslogtreecommitdiffstats
path: root/qml/Sources.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qml/Sources.qml')
-rw-r--r--qml/Sources.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/qml/Sources.qml b/qml/Sources.qml
index fa54e1d..a43b6a4 100644
--- a/qml/Sources.qml
+++ b/qml/Sources.qml
@@ -191,6 +191,14 @@ If this computer will have access to the Internet, you can delete the <i>Local</
Layout.margins: 10
}
MButton {
+ visible: networkstate.isOffLine()
+ Layout.columnSpan: 2
+ Layout.alignment: Qt.AlignHCenter
+ objectName: "launch"
+ onMbuttonClicked: { launch.command(["/usr/bin/draknetcenter",])}
+ buttonText: qsTr("Configure network")
+ }
+ MButton {
Layout.columnSpan: 2
Layout.alignment: Qt.AlignHCenter
objectName: "launch"