Commit 727f6c00 authored by Nicolas Fella's avatar Nicolas Fella

Only enable query action if start and destination are set

parent 2bba479c
......@@ -32,6 +32,7 @@ Kirigami.Page
actions.main: Kirigami.Action {
icon.name: "search"
text: i18n("Search")
enabled: _queryController.start.name != "" && _queryController.destination.name != ""
onTriggered: pageStack.push(Qt.resolvedUrl("ConnectionsPage.qml"))
}
......
Markdown is supported
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