forked from qt-creator/qt-creator
Tracing: Reset the selected type ID when clicking empty space
We want to get rid of the selection after all. Change-Id: I3a8b1b785d9d81870e5ff368a31e1642f399a47f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -122,11 +122,13 @@ ScrollView {
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
onClicked: {
|
||||
selectedTypeId = -1;
|
||||
tooltip.selectedNode = null;
|
||||
if (model !== null)
|
||||
model.typeSelected(-1);
|
||||
}
|
||||
onDoubleClicked: {
|
||||
selectedTypeId = -1;
|
||||
tooltip.selectedNode = null;
|
||||
if (model !== null)
|
||||
model.typeSelected(-1);
|
||||
|
||||
Reference in New Issue
Block a user