mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
Fix #1982413 [Color Palette setting always disabled](https://bugs.launchpad.net/calibre/+bug/1982413)
This commit is contained in:
parent
35d33fd59b
commit
226f19b440
@ -635,7 +635,6 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
|
||||
self.sections_view.setHorizontalScrollBarPolicy(Qt.ScrollBarPolicy.ScrollBarAlwaysOff)
|
||||
self.tabWidget.currentWidget().setFocus(Qt.FocusReason.OtherFocusReason)
|
||||
self.opt_ui_style.currentIndexChanged.connect(self.update_color_palette_state)
|
||||
self.update_color_palette_state()
|
||||
|
||||
def update_color_palette_state(self):
|
||||
if self.ui_style_available:
|
||||
@ -752,6 +751,7 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
|
||||
self.opt_book_details_css.setPlainText(P('templates/book_details.css', data=True).decode('utf-8'))
|
||||
self.opt_book_details_css.blockSignals(False)
|
||||
self.tb_focus_label.setVisible(self.opt_tag_browser_allow_keyboard_focus.isChecked())
|
||||
self.update_color_palette_state()
|
||||
|
||||
def open_cg_cache(self):
|
||||
open_local_file(self.gui.grid_view.thumbnail_cache.location)
|
||||
|
Loading…
x
Reference in New Issue
Block a user