Merge pull request #592 from mattrose/fix-prefs-setcolor
More fixes to the Color pickers in the Preferences Editor
This commit is contained in:
commit
d33c145ba8
|
@ -1693,12 +1693,8 @@ class PrefsEditor:
|
||||||
|
|
||||||
fore = guiget('foreground_colorbutton')
|
fore = guiget('foreground_colorbutton')
|
||||||
back = guiget('background_colorbutton')
|
back = guiget('background_colorbutton')
|
||||||
if value == 'custom':
|
|
||||||
fore.set_sensitive(True)
|
fore.set_sensitive(True)
|
||||||
back.set_sensitive(True)
|
back.set_sensitive(True)
|
||||||
else:
|
|
||||||
fore.set_sensitive(False)
|
|
||||||
back.set_sensitive(False)
|
|
||||||
|
|
||||||
forecol = None
|
forecol = None
|
||||||
backcol = None
|
backcol = None
|
||||||
|
|
Loading…
Reference in New Issue