Skip to content

Commit

Permalink
Fix: rqt "setColumnWidth" expects integest
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-mayr committed Feb 16, 2024
1 parent c661072 commit f832a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skiros2_gui/skiros2_gui/core/skiros_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ def on_wm_relations_widget_resized(self, event):
width = self.wm_relations_widget.size().width() - 2
cols = self.wm_relations_widget.columnCount()
for i in range(cols):
self.wm_relations_widget.setColumnWidth(i, float(width) / cols)
self.wm_relations_widget.setColumnWidth(i, width // cols)

def create_wm_tree(self):
scene_tuple = None
Expand Down

0 comments on commit f832a7f

Please sign in to comment.