From a3d7aaaf7175c80f24d8bf2eff50f0795d7f34c7 Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Mon, 28 May 2018 10:10:18 +0300 Subject: Don't start drag or select the row when clicking on expansion arrow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QT3DS-1797 Change-Id: I814ce0fba568ec52049905f8bb4d8e4d48d3189f Reviewed-by: Mahmoud Badri Reviewed-by: Tomi Korpipää --- .../Studio/Palettes/TimelineGraphicsView/TimelineGraphicsScene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Authoring/Studio/Palettes/TimelineGraphicsView/TimelineGraphicsScene.cpp b/src/Authoring/Studio/Palettes/TimelineGraphicsView/TimelineGraphicsScene.cpp index 0203b572..dc200366 100644 --- a/src/Authoring/Studio/Palettes/TimelineGraphicsView/TimelineGraphicsScene.cpp +++ b/src/Authoring/Studio/Palettes/TimelineGraphicsView/TimelineGraphicsScene.cpp @@ -332,7 +332,7 @@ void TimelineGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent *event) || m_clickedTreeControlType == TreeControlType::Hide || m_clickedTreeControlType == TreeControlType::Lock) { m_rowManager->updateFiltering(rowTree); - } else { + } else if (m_clickedTreeControlType == TreeControlType::None) { // Prepare to change selection to single selection at release if a multiselected // row is clicked without ctrl. if (!ctrlKeyDown && m_rowManager->isRowSelected(rowTree) -- cgit v1.2.3