From f082a072e974ad99fd35e43b4ca7db5edd817e8f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 7 Apr 2013 16:45:29 +0530 Subject: [PATCH] Fix #1165686 (On the Edit TOC display, both indent and unindent show "unindent" when hovering) --- src/calibre/gui2/toc/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/gui2/toc/main.py b/src/calibre/gui2/toc/main.py index 7cb4f9b462..90d9a8f4a8 100644 --- a/src/calibre/gui2/toc/main.py +++ b/src/calibre/gui2/toc/main.py @@ -559,11 +559,11 @@ class TOCView(QWidget): # {{{ 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)