Skip to content

Commit 3abdcc3

Browse files
committed
replace deprecated tracee() method with trace_add()
1 parent a9c1942 commit 3abdcc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/screens/select_app_window.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def __init__(self, parent, controller, logic_controller):
2727
search_label.pack(pady=5)
2828

2929
self.search_var = tk.StringVar()
30-
self.search_var.trace("w", self.update_search) # Update list as user types
30+
self.search_var.trace_add("write", lambda *args: self.update_search()) # Update list as user types
3131
search_entry = tk.Entry(self, textvariable=self.search_var)
3232
search_entry.pack(pady=5)
3333

0 commit comments

Comments
 (0)