summaryrefslogtreecommitdiff
path: root/grc/core/params/param.py
diff options
context:
space:
mode:
authorChristophe Seguinot <christophe.seguinot@univ-lille.fr>2021-03-01 17:38:56 +0100
committermormj <34754695+mormj@users.noreply.github.com>2021-03-10 09:11:19 -0500
commit21b4eb156fa9a5dd85668c0ca019a1cf7882e6e0 (patch)
tree8c2332e83d1a329a8b85765e7948218fb4cb22ac /grc/core/params/param.py
parentf45c82436c2a19fa1e5ff15177fbc4cc591017cb (diff)
grc: fix widget whitout GUI_hint may superpose to other
Signed-off-by: Christophe Seguinot <christophe.seguinot@univ-lille.fr>
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 f753683090..de370c9bff 100644
--- a/grc/core/params/param.py
+++ b/grc/core/params/param.py
@@ -392,7 +392,10 @@ class Param(Element):
else:
layout = '{tab}_grid_layout_{index}'.format(tab=tab, index=index)
else:
- layout = 'top_grid_layout'
+ if not pos:
+ layout = 'top_layout'
+ else:
+ layout = 'top_grid_layout'
widget = '%s' # to be fill-out in the mail template