Commit 46824092 authored by Ulf Hermann's avatar Ulf Hermann
Browse files

Timeline: Don't select by typeId if the typeId is already selected



Otherwise we get strange selection loops.

Change-Id: Ifdd6cf2c906fb7077a1aa0013f4a0c640de36688
Task-number: QTCREATORBUG-17937
Reviewed-by: Joerg Bornemann's avatarJoerg Bornemann <joerg.bornemann@qt.io>
parent 2080096e
......@@ -92,7 +92,7 @@ Rectangle {
// This is called from outside to synchronize the timeline to other views
function selectByTypeId(typeId)
{
if (lockItemSelection || typeId === -1)
if (lockItemSelection || typeId === -1 || content.typeId === typeId)
return;
var itemIndex = -1;
......
Markdown is supported
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