Fix incorrect tooltip for read aloud/autoscroll buttons in toolbar

This commit is contained in:
Kovid Goyal 2021-04-18 07:49:26 +05:30
parent bf07b986ba
commit e1b7d8027a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -235,7 +235,7 @@ class ActionsToolBar(ToolBar):
def update_read_aloud_action(self, active):
self.toggle_read_aloud_action.setChecked(active)
self.autoscroll_action.setToolTip(
self.toggle_read_aloud_action.setToolTip(
_('Stop reading') if active else _('Read the text of the book aloud'))
def update_reference_mode_action(self, enabled):