mirror of
https://github.com/DYefremov/DemonEditor.git
synced 2025-12-24 01:19:40 +01:00
fix use colors
This commit is contained in:
@@ -437,7 +437,9 @@ class Application(Gtk.Application):
|
||||
If update=False - first call on program start, else - after options changes!
|
||||
"""
|
||||
if self._s_type is SettingsType.ENIGMA_2:
|
||||
if self._settings.use_colors:
|
||||
self._use_colors = self._settings.use_colors
|
||||
|
||||
if self._use_colors:
|
||||
new_rgb = Gdk.RGBA()
|
||||
extra_rgb = Gdk.RGBA()
|
||||
new_rgb = new_rgb if new_rgb.parse(self._settings.new_color) else None
|
||||
|
||||
Reference in New Issue
Block a user