From 9f9b4967269464db9ce6d5bda800c5f9d5db5966 Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Tue, 27 Feb 2024 05:30:03 +0600 Subject: [PATCH] Select all text even later --- gui/builtinContextMenus/itemAmountChange.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/builtinContextMenus/itemAmountChange.py b/gui/builtinContextMenus/itemAmountChange.py index e68229868..5e8c7384b 100644 --- a/gui/builtinContextMenus/itemAmountChange.py +++ b/gui/builtinContextMenus/itemAmountChange.py @@ -118,10 +118,10 @@ def __init__(self, parent, value, limits=None): bSizer1.Add(bSizer3, 0, wx.ALL | wx.EXPAND, 10) self.input.SetFocus() - self.input.SelectAll() 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()