Skip to content

Commit

Permalink
wxGUI/forms: fix Python 3.8 integer warning (#1302)
Browse files Browse the repository at this point in the history
  • Loading branch information
petrasovaa committed Feb 5, 2021
1 parent 8c8e5bc commit 1ac0d67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gui/wxpython/gui_core/forms.py
Expand Up @@ -717,10 +717,10 @@ def __init__(self, parent, giface, task_description, id=wx.ID_ANY,
scale = 0.50
self.SetSize(
wx.Size(
sizeFrame[0],
sizeFrame[1] + scale * max(
round(sizeFrame[0]),
round(sizeFrame[1] + scale * max(
self.notebookpanel.panelMinHeight,
self.notebookpanel.constrained_size[1])))
self.notebookpanel.constrained_size[1]))))

# thread to update dialog
# create queues
Expand Down

0 comments on commit 1ac0d67

Please sign in to comment.