Remove superflous if

This commit is contained in:
maddox32
2020-09-10 19:35:54 +02:00
committed by GitHub
parent 1ee432bfab
commit cbe476df0b

View File

@@ -497,7 +497,6 @@ class PyProgress(wx.Dialog):
if not sizeDlgModified:
sizeDlg.y += 2*LAYOUT_MARGIN + wx.Button.GetDefaultSize().y
if self._hasAbortButton:
sizer.Add(buttonSizer, 0, sizerFlags, LAYOUT_MARGIN )
self.Bind(wx.EVT_CLOSE, self.OnClose)