Select all text even later

This commit is contained in:
DarkPhoenix
2024-02-27 05:54:55 +06:00
parent 9f9b496726
commit 9fe8163a69

View File

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