summaryrefslogtreecommitdiff
path: root/grc/core/params/param.py
diff options
context:
space:
mode:
authorVolker Schroer <3470424+dl1ksv@users.noreply.github.com>2018-08-06 14:55:32 +0200
committerMarcus Müller <marcus@hostalia.de>2018-08-18 17:17:59 +0200
commit717aeaafd1a91fd4420118492c2402bf5aac73e5 (patch)
tree8bf2ad52e6e575fdc472af9d1feedc03035dfae0 /grc/core/params/param.py
parent48d535e9d9d95524b2c8ed35b44c7eda541aea68 (diff)
Fix wrong GUI hints
grc 3.8 should treat window@index or window@index :i,j,k,l differently to what grc 3.7 does.
Diffstat (limited to 'grc/core/params/param.py')
-rw-r--r--grc/core/params/param.py5
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'