Skip to content

Commit ae508d6

Browse files
committed
BF: wxgui.dlgFromDict had an illegal alignment (crashes wx4.1)
1 parent 324a475 commit ae508d6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

psychopy/gui/wxgui.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,7 @@ def display(self):
188188
buttons.Add(OK)
189189
CANCEL = wx.Button(self, wx.ID_CANCEL, self.labelButtonCancel)
190190
buttons.Add(CANCEL)
191-
self.sizer.Add(buttons, 1,
192-
flag=wx.ALIGN_RIGHT | wx.ALIGN_BOTTOM, border=5)
191+
self.sizer.Add(buttons, 1, flag=wx.ALIGN_RIGHT, border=5)
193192

194193
self.SetSizerAndFit(self.sizer)
195194
if self.pos is None:

0 commit comments

Comments
 (0)