mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-25 08:15:01 +01:00
Fix #1165686 (On the Edit TOC display, both indent and unindent show "unindent" when hovering)
This commit is contained in:
parent
6bd12a4450
commit
f082a072e9
1 changed files with 2 additions and 2 deletions
|
|
@ -559,11 +559,11 @@ def __init__(self, parent):
|
|||
b.setToolTip(_('Remove all selected entries'))
|
||||
b.clicked.connect(self.del_items)
|
||||
|
||||
self.left_button = b = QToolButton(self)
|
||||
self.right_button = b = QToolButton(self)
|
||||
b.setIcon(QIcon(I('forward.png')))
|
||||
b.setIconSize(QSize(ICON_SIZE, ICON_SIZE))
|
||||
l.addWidget(b, 4, 3)
|
||||
b.setToolTip(_('Unindent the current entry [Ctrl+Left]'))
|
||||
b.setToolTip(_('Indent the current entry [Ctrl+Right]'))
|
||||
b.clicked.connect(self.tocw.move_right)
|
||||
|
||||
self.down_button = b = QToolButton(self)
|
||||
|
|
|
|||
Loading…
Reference in a new issue