Skip to content

Commit

Permalink
Update new1.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hieuck committed Jul 21, 2024
1 parent 044ebdc commit 8ab74bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion new1.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ def select_all(self, event=None):
self.icursor(tk.END) # Đưa con trỏ về cuối văn bản
return 'break'

def handle_delete(self, event):
def handle_delete(self, event=None):
self.delete(0, tk.END) # Xóa tất cả văn bản trong trường nhập
return 'break'

Expand Down

0 comments on commit 8ab74bf

Please sign in to comment.