mirror of https://gitlab.com/pamhyr/pamhyr2
HS: Basic: Display set type question only if previous type is not ND.
parent
00f0e39eda
commit
82ab7b5429
|
|
@ -136,7 +136,9 @@ class TableModel(PamhyrTableModel):
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
elif self._headers[column] == "type":
|
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(
|
key = next(
|
||||||
k for k, v in self._long_types.items()
|
k for k, v in self._long_types.items()
|
||||||
if v == value
|
if v == value
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue