summaryrefslogtreecommitdiff
path: root/grc/gui/Connection.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/gui/Connection.py')
-rw-r--r--grc/gui/Connection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/gui/Connection.py b/grc/gui/Connection.py
index 87dd97a520..b6e84f8c89 100644
--- a/grc/gui/Connection.py
+++ b/grc/gui/Connection.py
@@ -171,7 +171,7 @@ class Connection(Element, _Connection):
# draw
color1, color2 = (
Colors.HIGHLIGHT_COLOR if self.highlighted else
- Colors.CONNECTION_DISABLED_COLOR if not self.get_enabled() else
+ Colors.CONNECTION_DISABLED_COLOR if not self.enabled else
color for color in (self._color, self._color2))
Element.draw(self, widget, cr, color1, Colors.FLOWGRAPH_BACKGROUND_COLOR)