no need to go to custom to set custom palette

This commit is contained in:
amaan khan 2022-04-16 12:05:29 +05:30
parent 978e0c9fd8
commit ed93ccb7e5
1 changed files with 2 additions and 6 deletions

View File

@ -966,10 +966,6 @@ class PrefsEditor:
if self.palettevalues[key] == active:
value = key
sensitive = value == 'custom'
for palette_id in range(0, NUM_PALETTE_COLORS):
self.get_palette_widget(palette_id).set_sensitive(sensitive)
if value in self.palettes:
palette = self.palettes[value]
palettebits = palette.split(':')