diff options
author | Marcus Müller <marcus@hostalia.de> | 2018-08-18 17:19:29 +0200 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2018-08-18 17:19:29 +0200 |
commit | f2f221b0f15314a70b902f448946f1ac3aaa9c44 (patch) | |
tree | 8bf2ad52e6e575fdc472af9d1feedc03035dfae0 | |
parent | 48d535e9d9d95524b2c8ed35b44c7eda541aea68 (diff) | |
parent | 717aeaafd1a91fd4420118492c2402bf5aac73e5 (diff) |
Merge branch 'dl1ksv:patch-1' into next: Fix wrong GUI hints
Closes #1936
Closes #1943
-rw-r--r-- | grc/core/params/param.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/grc/core/params/param.py b/grc/core/params/param.py index 30a48bb434..f8530a24cd 100644 --- a/grc/core/params/param.py +++ b/grc/core/params/param.py @@ -359,7 +359,10 @@ class Param(Element): # Code Generation if tab: validate_tab() - layout = '{tab}_grid_layout_{index}'.format(tab=tab, index=index) + if not pos: + layout = '{tab}_layout_{index}'.format(tab=tab, index=index) + else: + layout = '{tab}_grid_layout_{index}'.format(tab=tab, index=index) else: layout = 'top_grid_layout' |