Skip to content

Commit

Permalink
BF: wxgui.dlgFromDict had an illegal alignment (crashes wx4.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
peircej committed Sep 4, 2020
1 parent 324a475 commit ae508d6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions psychopy/gui/wxgui.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,7 @@ def display(self):
buttons.Add(OK)
CANCEL = wx.Button(self, wx.ID_CANCEL, self.labelButtonCancel)
buttons.Add(CANCEL)
self.sizer.Add(buttons, 1,
flag=wx.ALIGN_RIGHT | wx.ALIGN_BOTTOM, border=5)
self.sizer.Add(buttons, 1, flag=wx.ALIGN_RIGHT, border=5)

self.SetSizerAndFit(self.sizer)
if self.pos is None:
Expand Down

0 comments on commit ae508d6

Please sign in to comment.