summaryrefslogtreecommitdiff
path: root/grc
diff options
context:
space:
mode:
authorJohnathan Corgan2013-01-20 09:35:30 -0800
committerJohnathan Corgan2013-01-20 09:35:30 -0800
commit96b457a433dee6a4b814b188e20432ba459c694b (patch)
tree0f38ab4b904b6ee1adab12ba91c4b4d8d9812be9 /grc
parent5f6bf76beca49831fccef78587668b06a88940a4 (diff)
parente41b7a54b2c7799bc4c3e177232574f1d38ccab9 (diff)
downloadgnuradio-96b457a433dee6a4b814b188e20432ba459c694b.tar.gz
gnuradio-96b457a433dee6a4b814b188e20432ba459c694b.tar.bz2
gnuradio-96b457a433dee6a4b814b188e20432ba459c694b.zip
Merge branch 'maint'
Diffstat (limited to 'grc')
-rw-r--r--grc/gui/FlowGraph.py5
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