diff --git a/src/calibre/gui2/preferences/look_feel.py b/src/calibre/gui2/preferences/look_feel.py index 8339237a51..22ac6841b5 100644 --- a/src/calibre/gui2/preferences/look_feel.py +++ b/src/calibre/gui2/preferences/look_feel.py @@ -657,6 +657,7 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form): self.opt_book_details_css.blockSignals(True) 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()) def open_cg_cache(self): open_local_file(self.gui.grid_view.thumbnail_cache.location) diff --git a/src/calibre/gui2/preferences/look_feel.ui b/src/calibre/gui2/preferences/look_feel.ui index 8c675a8674..524411c847 100644 --- a/src/calibre/gui2/preferences/look_feel.ui +++ b/src/calibre/gui2/preferences/look_feel.ui @@ -1107,9 +1107,6 @@ see the counts by hovering your mouse over any item. - - Allow the Tag browser to have keyboard focus - <p>When checked, the Tag browser can get keyboard focus, allowing use of the keyboard to navigate the tree using the arrow keys. The RETURN key simulates @@ -1117,16 +1114,21 @@ a click on the selected item. The keyboard shortcut 'Tag browser / Give the Tag browser keyboard focus' changes the keyboard focus without using the mouse.</p> + + Allow the Tag browser to have keyboard focus + - + margin-left: 1.5em - <p>If you enable this option then you should set the -keyboard shortcut 'Tag browser->Give the Tag browser keyboard focus'</p> + <p style="text-indent: 2em; font-size:smaller">If you enable this option then you should set a keyboard shortcut to focus the Tag browser under <code>Preferences-&gt;Shortcuts-&gt;Tag browser-&gt;Give the Tag browser keyboard focus</code> + + + true @@ -1390,12 +1392,28 @@ column being examined (the left-hand pane) setEnabled(bool) - 75 - 102 + 86 + 49 - 289 - 118 + 101 + 51 + + + + + opt_tag_browser_allow_keyboard_focus + toggled(bool) + tb_focus_label + setVisible(bool) + + + 275 + 528 + + + 358 + 555