mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
HS: Basic: Display set type question only if previous type is not ND.
This commit is contained in:
1 parent
00f0e39eda
commit
82ab7b5429
1 file changed
+3
-1
@@ -136,7 +136,9 @@ class TableModel(PamhyrTableModel):
|
||||
)
|
||||
)
|
||||
elif self._headers[column] == "type":
|
||||
if self._question_set_type():
|
||||
old_type = self._data.basic_structure(row).type
|
||||
|
||||
if old_type == "ND" or self._question_set_type():
|
||||
key = next(
|
||||
k for k, v in self._long_types.items()
|
||||
if v == value
|
||||
|
||||
Reference in new issue
Block a user