From 6841f94a9962eb7698303311e6216f2dc262862f Mon Sep 17 00:00:00 2001 From: Dishant B <130259005+dishb@users.noreply.github.com> Date: Fri, 16 Jun 2023 12:54:16 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=EF=B8=8F=20[fix]=20fix=20issue=20i?= =?UTF-8?q?n=20#1631?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- customtkinter/windows/ctk_input_dialog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/customtkinter/windows/ctk_input_dialog.py b/customtkinter/windows/ctk_input_dialog.py index fc37527..cc48464 100644 --- a/customtkinter/windows/ctk_input_dialog.py +++ b/customtkinter/windows/ctk_input_dialog.py @@ -86,7 +86,7 @@ class CTkInputDialog(CTkToplevel): hover_color=self._button_hover_color, text_color=self._button_text_color, text='Cancel', - command=self._ok_event) + command=self._cancel_event) self._cancel_button.grid(row=2, column=1, columnspan=1, padx=(10, 20), pady=(0, 20), sticky="ew") self.after(150, lambda: self._entry.focus()) # set focus to entry with slight delay, otherwise it won't work