summaryrefslogtreecommitdiff
path: root/grc/gui/FlowGraph.py
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2013-01-20 09:36:04 -0800
committerJohnathan Corgan <johnathan@corganlabs.com>2013-01-20 09:36:04 -0800
commitb72b576f67aa17af61277f2429ace6230c203a70 (patch)
treef65bbd2b523e8da800cb7ff7104190e6123690a6 /grc/gui/FlowGraph.py
parent65f563a91fb483d806df310085127fa11538b682 (diff)
parent96b457a433dee6a4b814b188e20432ba459c694b (diff)
Merge branch 'master' into next
Diffstat (limited to 'grc/gui/FlowGraph.py')
-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 8573e87b18..3f17c47bc8 100644
--- a/grc/gui/FlowGraph.py
+++ b/grc/gui/FlowGraph.py
@@ -534,8 +534,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