summaryrefslogtreecommitdiff
path: root/grc/gui/Param.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/gui/Param.py')
-rw-r--r--grc/gui/Param.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/grc/gui/Param.py b/grc/gui/Param.py
index a630f5faa3..c888b9ebc0 100644
--- a/grc/gui/Param.py
+++ b/grc/gui/Param.py
@@ -66,7 +66,7 @@ class Param(Element, _Param):
# fixme: using non-public attribute here
has_callback = \
hasattr(block, 'get_callbacks') and \
- any(self.get_key() in callback for callback in block._callbacks)
+ any(self.key in callback for callback in block._callbacks)
return '<span underline="{line}" foreground="{color}" font_desc="Sans 9">{label}</span>'.format(
line='low' if has_callback else 'none',
@@ -78,7 +78,7 @@ class Param(Element, _Param):
def format_tooltip_text(self):
errors = self.get_error_messages()
- tooltip_lines = ['Key: ' + self.get_key(), 'Type: ' + self.get_type()]
+ tooltip_lines = ['Key: ' + self.key, 'Type: ' + self.get_type()]
if self.is_valid():
value = str(self.get_evaluated())
if len(value) > 100: