解决win跨平台小bug
This commit is contained in:
parent
ea7f8d7de5
commit
18eec61c26
|
@ -248,7 +248,8 @@ class Entry:
|
||||||
def __bind_event(self):
|
def __bind_event(self):
|
||||||
def closecallback(obj):
|
def closecallback(obj):
|
||||||
if (self.__is_hover == 1):
|
if (self.__is_hover == 1):
|
||||||
self.top.destroy()
|
if sys.platform.startswith("linux"):
|
||||||
|
self.top.destroy()
|
||||||
self.__is_hover = 0
|
self.__is_hover = 0
|
||||||
self.canvas.focus_force()
|
self.canvas.focus_force()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue