Commit 8b45c204 authored by Ismael Asensio's avatar Ismael Asensio
Browse files

NavigationTabBar: Avoid loop on actions in tab group

The actions in Kirigami.NavigationTabBar are bounded by an
exclusive button group, which on start-up competes with the
binding on the `checked` property within those actions.

This results in an endless loop of alternating states,
and eventually a crash when the QV4 heap saturates.

Setting this group as non-exclusive fixes the issue.

BUG: 448460
FIXED-IN: 5.24
parent ef1f2026
Pipeline #126784 passed with stage
in 1 minute and 2 seconds
......@@ -172,6 +172,10 @@ Kirigami.ApplicationWindow
installedAction,
updateAction
]
Component.onCompleted: {
// Exclusivity is already handled by the actions. This prevents BUG:448460
tabGroup.exclusive = false
}
}
}
......
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