From 548c3a5315fb0fa16348fd787f0f2b0d1703ca07 Mon Sep 17 00:00:00 2001 From: cxykevin Date: Mon, 22 Apr 2024 12:03:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9windows=E4=B8=8B=E7=9A=84?= =?UTF-8?q?=E4=BA=8B=E4=BB=B6=E8=A1=8C=E4=B8=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- magictk/entry.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/magictk/entry.py b/magictk/entry.py index d612c93..b6b3bae 100644 --- a/magictk/entry.py +++ b/magictk/entry.py @@ -287,7 +287,7 @@ class Entry: self.inputobj.bind("", pressrelease_v) self.show_label.bind("", pressrelease_v) self.__input_textvar.trace_add("write", update_text) - if (sys.platform.startswith("linux")): - self.frames.bind("", closecallback) - else: - self.inputobj.bind_all("", closecallback) + # if (sys.platform.startswith("linux")): + self.frames.bind("", closecallback) + # else: + # self.inputobj.bind_all("", closecallback)