TUFLOW-Support / QGIS-TUFLOW-Plugin

TUFLOW related QGIS Plugins
9 stars 7 forks source link

Fix Python 3.10 error #33

Closed ZedeN1 closed 1 year ago

ZedeN1 commented 1 year ago
TypeError: setColumnWidth(self, int, int): argument 2 has unexpected type 'float' 
Traceback (most recent call last):
  File "/home/pavel/.local/share/QGIS/QGIS3/profiles/default/python/plugins/tuflow/tuflowqgis_menu.py", line 495, in increment_layer
    dialog = tuflowqgis_increment_dialog(self.iface)
  File "/home/pavel/.local/share/QGIS/QGIS3/profiles/default/python/plugins/tuflow/tuflowqgis_dialog.py", line 83, in __init__
    self.twTables.setColumnWidth(0, table_width / 2)
TypeError: setColumnWidth(self, int, int): argument 2 has unexpected type 'float'