Skip to content
Snippets Groups Projects
Verified Commit 4402025b authored by Xavier Robin's avatar Xavier Robin
Browse files

fix: TypeError in Resize(): expects int.

parent 2addee9b
No related branches found
No related tags found
No related merge requests found
......@@ -104,7 +104,7 @@ class UniformColorWidget(QtWidgets.QWidget):
entity.Apply(ufco)
def resizeEvent(self, event):
self.color_select_widget_.SetSize(self.width()/2,self.height()/2)
self.color_select_widget_.SetSize(int(self.width()/2),int(self.height()/2))
def GetText(self):
return self.text_
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment