fixed resizable call for CTkToplevel shortly after toplevel creation

This commit is contained in:
TomSchimansky 2022-09-21 09:35:42 +02:00
parent fb600c9811
commit 77adb7d024

View File

@ -289,7 +289,6 @@ class CTkToplevel(tkinter.Toplevel):
elif self.iconify_called_after_windows_set_titlebar_color: elif self.iconify_called_after_windows_set_titlebar_color:
super().iconify() super().iconify()
else: else:
print("toplevel revert withdraw", self.state_before_windows_set_titlebar_color)
if self.state_before_windows_set_titlebar_color == "normal": if self.state_before_windows_set_titlebar_color == "normal":
self.deiconify() self.deiconify()
elif self.state_before_windows_set_titlebar_color == "iconic": elif self.state_before_windows_set_titlebar_color == "iconic":