summaryrefslogtreecommitdiff
path: root/grc/python/Param.py
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2009-09-06 01:17:35 -0700
committerJosh Blum <josh@joshknows.com>2009-09-06 01:17:35 -0700
commite39507bf32666f9b17d2249106aac0d6cbcacc58 (patch)
treece86aefabac458a9e8599ebd26249521437a4f59 /grc/python/Param.py
parenta6cb9eceeb62593e852b6dea0f640436381ec947 (diff)
propsdialog tweaks
Diffstat (limited to 'grc/python/Param.py')
-rw-r--r--grc/python/Param.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/grc/python/Param.py b/grc/python/Param.py
index e61779136c..c64659a080 100644
--- a/grc/python/Param.py
+++ b/grc/python/Param.py
@@ -153,9 +153,9 @@ class Param(_Param, _GUIParam):
dt_str = dt_str[:max_len-3] + '...'
return dt_str
- def get_input_class(self):
- if self.get_type() in ('file_open', 'file_save'): return FileParam
- return _GUIParam.get_input_class(self)
+ def get_input(self, *args, **kwargs):
+ if self.get_type() in ('file_open', 'file_save'): return FileParam(*args, **kwargs)
+ return _GUIParam.get_input(self, *args, **kwargs)
def get_color(self):
"""