更改windows下的事件行为
Build and Publish / Run (push) Successful in 48s
Details
Build and Publish / Run (push) Successful in 48s
Details
This commit is contained in:
parent
1de2bda297
commit
548c3a5315
|
@ -287,7 +287,7 @@ class Entry:
|
||||||
self.inputobj.bind("<ButtonRelease-1>", pressrelease_v)
|
self.inputobj.bind("<ButtonRelease-1>", pressrelease_v)
|
||||||
self.show_label.bind("<ButtonRelease-1>", pressrelease_v)
|
self.show_label.bind("<ButtonRelease-1>", pressrelease_v)
|
||||||
self.__input_textvar.trace_add("write", update_text)
|
self.__input_textvar.trace_add("write", update_text)
|
||||||
if (sys.platform.startswith("linux")):
|
# if (sys.platform.startswith("linux")):
|
||||||
self.frames.bind("<Leave>", closecallback)
|
self.frames.bind("<Leave>", closecallback)
|
||||||
else:
|
# else:
|
||||||
self.inputobj.bind_all("<FocusOut>", closecallback)
|
# self.inputobj.bind_all("<FocusOut>", closecallback)
|
||||||
|
|
Loading…
Reference in New Issue