Commit 8ba5e4ab authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

[weather applet] Show "Configure..." button in full view if not configured

parent 2997d253
......@@ -71,4 +71,17 @@ ColumnLayout {
Qt.openUrlExternally(link);
}
}
// workaround for now to make applet state obvious and allow quick access to config dialog
// follows approach by comic applet
// TODO: remove when configurationRequired works and container cares for this
PlasmaComponents.Button {
anchors.centerIn: parent
visible: root.needsConfiguration
text: i18nc("@action:button", "Configure...")
onClicked: {
plasmoid.action("configure").trigger();
}
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment