Tracing: Use the same "lock" mechanism in flame graph as in timeline

You can disable hover selection by "closing" the lock.

Task-number: QTCREATORBUG-19788
Change-Id: Ibfcbd17745b2928fd4951312770a673a2677d404
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Ulf Hermann
2018-05-03 17:58:57 +02:00
parent def017e5cb
commit b6f5ec3559
3 changed files with 6 additions and 8 deletions

View File

@@ -371,8 +371,8 @@ Rectangle {
content.select(selectedModel, selectedItem)
}
onToggleSelectionLocked: {
content.selectionLocked = !content.selectionLocked;
onLockedChanged: {
content.selectionLocked = locked;
}
onClearSelection: {