Skip to content

Commit

Permalink
Display column content, the definitions is not using a list yet #476
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry committed Nov 30, 2023
1 parent 043215b commit 8aba1b4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lizmap/resources/ui/ui_form_locate_layer.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>433</width>
<height>239</height>
<width>518</width>
<height>350</height>
</rect>
</property>
<property name="windowTitle">
Expand Down
6 changes: 6 additions & 0 deletions lizmap/table_manager/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,12 @@ def _edit_row(self, row, data):
labels.append(item_enum.value['data'])
value = ','.join(labels)
cell.setText(value)
else:
# Some settings are a list, but not using a Python enum yet
# Form filter by instance commit d1bca9c5c1f626893001e5824196dec5fe9a6c9a
# It's not possible for now to have the human display name
# and the icon
cell.setText(value)

elif input_type == InputType.SpinBox:
unit = self.definitions.layer_config[key].get('unit')
Expand Down

0 comments on commit 8aba1b4

Please sign in to comment.