mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 23:26:25 +02:00
Remove right click selection
This commit is contained in:
parent
6c27bd9eb2
commit
960047f412
1 changed files with 2 additions and 8 deletions
|
@ -398,15 +398,9 @@ Window {
|
|||
anchors.fill: parent
|
||||
acceptedButtons: Qt.RightButton
|
||||
onClicked: {
|
||||
print("onClicked");
|
||||
var index = treeView.indexAt(mouse.x, mouse.y);
|
||||
print("onClicked", assetProxyModel.data(index, 0x0100));
|
||||
treeView.selection.select(index, 0x0001 | 0x0002 | 0x0010 | 0x0020);
|
||||
print("done");
|
||||
//contextMenu.currentIndex = index;
|
||||
//treeView.selection.clearSelection()
|
||||
//treeView.selection.clear();
|
||||
//contextMenu.popup();
|
||||
contextMenu.currentIndex = index;
|
||||
contextMenu.popup();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue