Skip to content

Commit

Permalink
fix call to qt api with int
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshnielsen committed Jan 11, 2022
1 parent c5d88aa commit 3a3a265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plottr/apps/inspectr.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ def __init__(self, parent: Optional[QtWidgets.QWidget] = None,

# sizing
scaledSize = 640 * rint(self.logicalDpiX() / 96.0)
self.resize(scaledSize, scaledSize)
self.resize(int(scaledSize), int(scaledSize))

### Thread workers

Expand Down

0 comments on commit 3a3a265

Please sign in to comment.