mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-04 03:41:56 +02:00
[ui] GraphEditor: fix error when node is clicked with control and not selected
This commit is contained in:
parent
6f50f652c2
commit
aef50d9bde
1 changed files with 1 additions and 1 deletions
|
@ -441,7 +441,7 @@ Item {
|
|||
onPressed: {
|
||||
if (mouse.button == Qt.LeftButton) {
|
||||
if (mouse.modifiers & Qt.ControlModifier) {
|
||||
if (mainSelected) {
|
||||
if (mainSelected && selected) {
|
||||
// left clicking a selected node twice with control will deselect it
|
||||
uigraph.selectedNodes.remove(node)
|
||||
uigraph.selectedNodesChanged()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue