Skip to content

Commit

Permalink
fixing (?): sometimes changes to calc. color factor do not take effect
Browse files Browse the repository at this point in the history
  • Loading branch information
s-n-g committed Aug 25, 2022
1 parent 6721daa commit 2dd8e48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyradio/radio.py
Original file line number Diff line number Diff line change
Expand Up @@ -5753,6 +5753,7 @@ def keypress(self, char):
if self._config_win.mouse_support_option_changed:
self._print_mouse_restart_info()
if self._config_win.need_to_update_theme:
self._cnf.use_calculated_colors = False if self._cnf.opts['calculated_color_factor'][1] == '0' else True
self._theme.recalculate_theme()
elif ret == 1:
''' config not modified '''
Expand Down

0 comments on commit 2dd8e48

Please sign in to comment.