Move select all call earlier, to see which call breaks it on windows

This commit is contained in:
DarkPhoenix
2024-02-27 07:38:01 +06:00
parent 9fe8163a69
commit a4ed6e8066

View File

@@ -122,8 +122,8 @@ class AmountChanger(wx.Dialog):
self.input.Bind(wx.EVT_TEXT_ENTER, self.processEnter)
self.SetSizer(bSizer1)
self.CenterOnParent()
self.Fit()
self.input.SelectAll()
self.Fit()
def processEnter(self, evt):
self.EndModal(wx.ID_OK)