diff options
author | Josh Blum <josh@joshknows.com> | 2009-09-06 01:17:35 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2009-09-06 01:17:35 -0700 |
commit | e39507bf32666f9b17d2249106aac0d6cbcacc58 (patch) | |
tree | ce86aefabac458a9e8599ebd26249521437a4f59 /grc/python/Param.py | |
parent | a6cb9eceeb62593e852b6dea0f640436381ec947 (diff) |
propsdialog tweaks
Diffstat (limited to 'grc/python/Param.py')
-rw-r--r-- | grc/python/Param.py | 6 |
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): """ |