Skip to content

Commit

Permalink
not quite right
Browse files Browse the repository at this point in the history
See issue #347
  • Loading branch information
lekeno committed Oct 31, 2020
1 parent 59e640b commit 14660c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion edr/edrtogglingpanel.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__(self, parent, label, status, show, *args, **options):
self.label = tk.Label(self.status_frame, text=label, foreground=conf.rgb("status", "label"), background=bg)
self.label.grid(sticky="w", row=1, column=0)
self.status_ui = ttkHyperlinkLabel.HyperlinkLabel(self.status_frame, textvariable=status, foreground=fg, background=bg)
self.status_ui.grid(sticky="w", row=1, column=1)
self.status_ui.grid(sticky="ew", row=1, column=1)

self.toggle_button = tk.Checkbutton(self.status_frame, width=2, text='+', command=self.toggle,
variable=self.show, foreground=conf.rgb("status", "check"), background=bg)
Expand All @@ -67,6 +67,7 @@ def toggle(self):
self.toggle_button.configure(text='+')

def refresh_theme(self):
self.status_frame.grid_propagate(False)
conf = IGMConfig(config_file='config/igm_alt_config.v3.ini', user_config_file=['config/user_igm_alt_config.v3.ini', 'config/user_igm_alt_config.v2.ini'])
theme=EDMCConfig.config.getint('theme') # hat tip to ewanm89@
if (theme):
Expand Down

0 comments on commit 14660c5

Please sign in to comment.