Skip to content

Commit

Permalink
fix data type
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcorsini committed Dec 2, 2024
1 parent 2d07fd6 commit 74b7627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/QtShapefileAttributeWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def __init__(self, data, parent=None):
else:
chkBox.setProperty('type', 'string')

self.fields_layout.addWidget(chkBox, i / FIELDS_FOR_ROW, i % FIELDS_FOR_ROW)
self.fields_layout.addWidget(chkBox, int(i / FIELDS_FOR_ROW), i % FIELDS_FOR_ROW)
self.checkBoxes.append(chkBox)

label_layout = QHBoxLayout()
Expand Down

0 comments on commit 74b7627

Please sign in to comment.