aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2019-09-27 10:44:42 +0200
committerMitch Curtis <mitch.curtis@qt.io>2019-12-12 11:13:15 +0100
commit06162b3712b6ff2e25e1b20a139fe5c42e95b123 (patch)
treecc864947e47b009cc4a52c55474cfee2c1eae48d /examples
parentcb1c3528078659c297fb12ea6914978cec1d2614 (diff)
StackView: fix an issue where the current item was hidden
When a StackView has an item A as the current item, calling replace(B) and then replace(A) would result in A being hidden when all transitions were finished. When an item is finishing its transition, we can check to see if that item exists in the stack (i.e. was pushed while it was transitioning), and if so, don't hide it. The patch is based on the one from Anthony Groyer. Fixes: QTBUG-57267 Change-Id: I441559c54a35c577261074bc7f0c923aeb3ca330 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions