Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Itinerary
Commits
23a02aa2
Commit
23a02aa2
authored
Nov 10, 2021
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/main.qml
View file @
23a02aa2
...
...
@@ -152,6 +152,9 @@ Kirigami.ApplicationWindow {
target
:
ApplicationController
function
onInfoMessage
(
msg
)
{
showPassiveNotification
(
msg
,
"
short
"
);
}
function
onOpenPageRequested
(
page
)
{
while
(
pageStack
.
layers
.
depth
>
1
)
{
pageStack
.
layers
.
pop
();
}
switch
(
page
)
{
case
"
stats
"
:
statsAction
.
trigger
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment