Commit 23a02aa2 authored by Volker Krause's avatar Volker Krause
Browse files

Clear the layer stack before triggering a jump list action

This makes all actions work no matter in which state the application is.
parent 3671b4e0
......@@ -152,6 +152,9 @@ Kirigami.ApplicationWindow {
target: ApplicationController
function onInfoMessage(msg) { showPassiveNotification(msg, "short"); }
function onOpenPageRequested(page) {
while (pageStack.layers.depth > 1) {
switch (page) {
case "stats":
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