diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dbd3fc9..12cadb0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,10 +35,10 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: v2.0.11 - release_name: v2.0.11 + tag_name: v2.0.12 + release_name: v2.0.12 body: | - Update padding and columns in the textbox frame. Aligns text better and makes things look nicer. + Bind Enter key to search. draft: false prerelease: false - name: Upload Release Asset diff --git a/PySN.py b/PySN.py index 77f9b49..84f6ad9 100644 --- a/PySN.py +++ b/PySN.py @@ -269,7 +269,7 @@ def clear_items(self): #Main window and some button functionality. Vaguely named widgets are in order of how they appear on screen. class App(customtkinter.CTk): def __init__(self): - super().__init__() + super().__init__() self.geometry('760x640') self.title('PySN') self.resizable(0,0) @@ -277,6 +277,7 @@ def __init__(self): self.stop_down = False self.grid_rowconfigure((0, 1, 2), weight=1) self.grid_columnconfigure((0, 1, 2, 3, 4, 5, 6, 7), weight=1) + self.bind('', lambda event: self.button_search()) self.entry = customtkinter.CTkEntry(master=self, placeholder_text='Enter Serial', width = 125) self.entry.grid(row=0, column=0, padx=(4,2), pady=(6,0), sticky='ew')