diff --git a/Orange/canvas/document/interactions.py b/Orange/canvas/document/interactions.py index 79cb528175c..fdee61aa6d7 100644 --- a/Orange/canvas/document/interactions.py +++ b/Orange/canvas/document/interactions.py @@ -392,6 +392,7 @@ def mouseMoveEvent(self, event): def mouseReleaseEvent(self, event): if self.tmp_link_item: + self.force_link_dialog = bool(event.modifiers() & Qt.ShiftModifier) item = self.target_node_item_at(event.scenePos()) node = None stack = self.document.undoStack() @@ -501,7 +502,7 @@ def connect_nodes(self, source_node, sink_node): # to SchemeLinks later links_to_add = [(source, sink)] links_to_remove = [] - show_link_dialog = False + show_link_dialog = self.force_link_dialog # Ambiguous new link request. if len(possible) >= 2: