Browse Source

wxGUI/Save display to file dialog: add wxPython 4.1 support (#1175)

remove bad flag
nilason 4 years ago
parent
commit
6863e275d5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gui/wxpython/gui_core/dialogs.py

+ 1 - 1
gui/wxpython/gui_core/dialogs.py

@@ -1973,7 +1973,7 @@ class ImageSizeDialog(wx.Dialog):
         btnsizer.Realize()
 
         sizer.Add(btnsizer, proportion=0,
-                  flag=wx.EXPAND | wx.ALIGN_RIGHT | wx.ALL, border=5)
+                  flag=wx.EXPAND | wx.ALL, border=5)
 
         self.panel.SetSizer(sizer)
         sizer.Fit(self.panel)