diff options
author | Sebastian Koslowski <koslowski@kit.edu> | 2016-07-12 17:43:11 +0200 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2016-07-13 16:35:50 +0200 |
commit | b479f54903c0b1b164393af2e844723aed8a1072 (patch) | |
tree | 42ccf4340bc84ad295976ee1ebac7e713ed7e3f8 /grc/gui/FlowGraph.py | |
parent | db5ab0f2a0e694ca9149d66171e0dbbb87dd74da (diff) |
grc: refactor: fixup selection code and core connection changes
Diffstat (limited to 'grc/gui/FlowGraph.py')
-rw-r--r-- | grc/gui/FlowGraph.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/grc/gui/FlowGraph.py b/grc/gui/FlowGraph.py index 7a0f2475ff..7176594460 100644 --- a/grc/gui/FlowGraph.py +++ b/grc/gui/FlowGraph.py @@ -28,6 +28,8 @@ from itertools import count import six from six.moves import filter +from gi.repository import GObject + from . import Actions, Colors, Utils, Bars, Dialogs from .Element import Element from .external_editor import ExternalEditor @@ -435,7 +437,7 @@ class FlowGraph(Element, _Flowgraph): selected_elements = self.selected_elements elements = self.get_elements() # remove deleted elements - for selected in selected_elements: + for selected in list(selected_elements): if selected in elements: continue selected_elements.remove(selected) |