diff options
author | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2018-05-23 17:04:37 +0300 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2018-05-23 14:09:53 +0000 |
commit | 883a50aac3a4d1b5f89509e07fff93dfe43cbfe2 (patch) | |
tree | c9c180dbb5b17bcce38931bbc321d0793ac63ef2 | |
parent | fb29d1bf346ebd817770a0fb230c729e7b543e9b (diff) |
Don't animate the parent's expand on selection
Expand animation is meant for child items exposed or hidden by expand
or collapse. Animating the initial expand of the parent makes parent
vanish in case it is already expanded.
Task-number: QT3DS-1769
Change-Id: I983831bf4d2891ce1f2a09dba170687159eed542
Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
-rw-r--r-- | src/Authoring/Studio/Palettes/TimelineGraphicsView/RowManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Authoring/Studio/Palettes/TimelineGraphicsView/RowManager.cpp b/src/Authoring/Studio/Palettes/TimelineGraphicsView/RowManager.cpp index 4d5cc82e..f02c0c4a 100644 --- a/src/Authoring/Studio/Palettes/TimelineGraphicsView/RowManager.cpp +++ b/src/Authoring/Studio/Palettes/TimelineGraphicsView/RowManager.cpp @@ -240,7 +240,7 @@ void RowManager::setRowSelection(RowTree *row, bool selected) if (!pRow.isNull()) { RowTree *parentRow = pRow.data(); while (parentRow) { - parentRow->updateExpandStatus(RowTree::ExpandState::Expanded, true); + parentRow->updateExpandStatus(RowTree::ExpandState::Expanded, false); parentRow = parentRow->parentRow(); } } |