close popup menu when node goes out of view area
1 files changed, 5 insertions(+), 0 deletions(-) M qml/GraphView.qml
M qml/GraphView.qml +5 -0
@@ 193,6 193,11 @@ Flickable { layoutModel.removeNode(contextMenu.nodeId); } } + + Connections { + target: contextMenu.parent + onVisibleChanged: contextMenu.close() + } } Component.onCompleted: {