diff options
author | Johnathan Corgan | 2013-01-20 09:33:03 -0800 |
---|---|---|
committer | Johnathan Corgan | 2013-01-20 09:33:03 -0800 |
commit | e41b7a54b2c7799bc4c3e177232574f1d38ccab9 (patch) | |
tree | e024f943985dcb86f0bf94636b94acc444acfce5 /grc/gui/FlowGraph.py | |
parent | ad65dd6c70d11dba26ecbad07a6290801151e044 (diff) | |
parent | 6b9b1f762eacd6ad53727cf116d12a76d6e8b6b8 (diff) | |
download | gnuradio-e41b7a54b2c7799bc4c3e177232574f1d38ccab9.tar.gz gnuradio-e41b7a54b2c7799bc4c3e177232574f1d38ccab9.tar.bz2 gnuradio-e41b7a54b2c7799bc4c3e177232574f1d38ccab9.zip |
Merge remote-tracking branch 'balint/windows_fixes' into maint
Diffstat (limited to 'grc/gui/FlowGraph.py')
-rw-r--r-- | grc/gui/FlowGraph.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/grc/gui/FlowGraph.py b/grc/gui/FlowGraph.py index 67e5af97b..6af4bcb62 100644 --- a/grc/gui/FlowGraph.py +++ b/grc/gui/FlowGraph.py @@ -494,8 +494,9 @@ class FlowGraph(Element): Move a selected element to the new coordinate. Auto-scroll the scroll bars at the boundaries. """ - #to perform a movement, the mouse must be pressed, no pending events - if gtk.events_pending() or not self.mouse_pressed: return + #to perform a movement, the mouse must be pressed + # (no longer checking pending events via gtk.events_pending() - always true in Windows) + if not self.mouse_pressed: return #perform autoscrolling width, height = self.get_size() x, y = coordinate |