Skip to content

Commit

Permalink
Select all text even later
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkFenX committed Feb 26, 2024
1 parent 3b8fa68 commit 9f9b496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/builtinContextMenus/itemAmountChange.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 9f9b496

Please sign in to comment.