Skip to content

Commit

Permalink
Set focus on search filter for insert symbols dialog (#21)
Browse files Browse the repository at this point in the history
* Fixed typos in smileyList.py

* Using emoji short-name according to Emojipedia and UNICODE character name.

* Added eleven emojis

* A quick readme check-up.

* Set focus on search filter
  • Loading branch information
Christianlm authored Nov 2, 2020
1 parent 91f6640 commit f4e5cda
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions addon/globalPlugins/emoticons/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,9 @@ def onFilterEditTextChange(self, evt):
except:
pass

def postInit(self):
self.filterEdit.SetFocus()

def onOk(self, evt):
index = self.symbolsList.GetFirstSelected()
symbol = None
Expand Down

0 comments on commit f4e5cda

Please sign in to comment.