解决win跨平台小bug

This commit is contained in:
cxykevin 2024-04-15 11:37:50 +08:00
parent ea7f8d7de5
commit 18eec61c26
1 changed files with 2 additions and 1 deletions

View File

@ -248,7 +248,8 @@ class Entry:
def __bind_event(self):
def closecallback(obj):
if (self.__is_hover == 1):
self.top.destroy()
if sys.platform.startswith("linux"):
self.top.destroy()
self.__is_hover = 0
self.canvas.focus_force()