mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-11-04 03:27:00 -05:00 
			
		
		
		
	Fix incorrect tooltip for read aloud/autoscroll buttons in toolbar
This commit is contained in:
		
							parent
							
								
									bf07b986ba
								
							
						
					
					
						commit
						e1b7d8027a
					
				@ -235,7 +235,7 @@ class ActionsToolBar(ToolBar):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    def update_read_aloud_action(self, active):
 | 
					    def update_read_aloud_action(self, active):
 | 
				
			||||||
        self.toggle_read_aloud_action.setChecked(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'))
 | 
					            _('Stop reading') if active else _('Read the text of the book aloud'))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def update_reference_mode_action(self, enabled):
 | 
					    def update_reference_mode_action(self, enabled):
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user