diff options
author | Josh Blum | 2013-02-17 16:46:08 -0800 |
---|---|---|
committer | Josh Blum | 2013-02-17 16:46:08 -0800 |
commit | 7839db580435ad0d39f307bde185dfdcda01ec12 (patch) | |
tree | 7c15be4cb502d65f808d390abd24e7b388b7c4e0 /grc/gui/FlowGraph.py | |
parent | bc8bbc71f799ea81e38104ff9d943a5eab1e203c (diff) | |
parent | 0dcdc099ecbb01e72b0c5935437f154e47763055 (diff) | |
download | gnuradio-7839db580435ad0d39f307bde185dfdcda01ec12.tar.gz gnuradio-7839db580435ad0d39f307bde185dfdcda01ec12.tar.bz2 gnuradio-7839db580435ad0d39f307bde185dfdcda01ec12.zip |
Merge branch 'maint' into v3.6.4git_gras_support
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 |