Commit 0717dcec authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Have DiscoverPage refresh if F5 is pressed

parent b0cdc229
......@@ -48,4 +48,13 @@ Kirigami.ScrollablePage
applicationWindow().pageStack.pop()
}
}
readonly property var sRefresh: Shortcut {
sequence: StandardKey.Refresh
enabled: root.isCurrentPage && root.supportsRefreshing
onActivated: {
if (root.supportsRefreshing)
root.refreshing = true
}
}
}
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