mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
Fixed the option_menu not updating colors.
This commit is contained in:
parent
9ef14447d9
commit
734b3d5c83
@ -190,6 +190,7 @@ class App(customtkinter.CTk):
|
||||
self.widget_type.configure(text=self.current)
|
||||
self.menu.configure(values=self.widgets[self.current])
|
||||
self.menu.set(self.widgets[self.current][0])
|
||||
self.update(self.menu.get())
|
||||
|
||||
#Function for changing current widget type with left button
|
||||
def change_mode_left(self):
|
||||
@ -198,6 +199,7 @@ class App(customtkinter.CTk):
|
||||
self.widget_type.configure(text=self.current)
|
||||
self.menu.configure(values=self.widgets[self.current])
|
||||
self.menu.set(self.widgets[self.current][0])
|
||||
self.update(self.menu.get())
|
||||
|
||||
#Function for updating the contents and their colors
|
||||
def update(self, value):
|
||||
|
Loading…
Reference in New Issue
Block a user