Scaling error after deleting dropdown

Fixes #1304
This commit is contained in:
ElectricCandlelight 2023-03-02 22:42:28 +00:00
parent 09e584634c
commit 7f127b73ee

View File

@ -50,6 +50,7 @@ class DropdownMenu(tkinter.Menu, CTkAppearanceModeBaseClass, CTkScalingBaseClass
# call destroy methods of super classes
tkinter.Menu.destroy(self)
CTkAppearanceModeBaseClass.destroy(self)
CTkScalingBaseClass.destroy(self)
def _update_font(self):
""" pass font to tkinter widgets with applied font scaling """