解决win跨平台小bug
This commit is contained in:
parent
ea7f8d7de5
commit
18eec61c26
|
@ -248,6 +248,7 @@ 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):
|
||||||
|
if sys.platform.startswith("linux"):
|
||||||
self.top.destroy()
|
self.top.destroy()
|
||||||
self.__is_hover = 0
|
self.__is_hover = 0
|
||||||
self.canvas.focus_force()
|
self.canvas.focus_force()
|
||||||
|
|
Loading…
Reference in New Issue