Skip to content

Commit

Permalink
wxGUI: fix wx flag assertion error in SavedRegion Dialog (#1680)
Browse files Browse the repository at this point in the history
Fixes #1679
  • Loading branch information
nilason authored and neteler committed Jul 1, 2021
1 parent 46f8dd3 commit 0b11f2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gui/wxpython/gui_core/dialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ def __init__(self, parent, title, id=wx.ID_ANY, loadsave="load", **kwargs):
sizer.Add(
box,
proportion=0,
flag=wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL,
flag=wx.GROW | wx.ALL,
border=5,
)

Expand All @@ -643,7 +643,7 @@ def __init__(self, parent, title, id=wx.ID_ANY, loadsave="load", **kwargs):
sizer.Add(
line,
proportion=0,
flag=wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT,
flag=wx.GROW | wx.LEFT | wx.RIGHT,
border=5,
)

Expand Down

0 comments on commit 0b11f2a

Please sign in to comment.