mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-11-03 19:17:02 -05:00 
			
		
		
		
	Show a dot next to highlights with notes in the viewer highlights panel
This commit is contained in:
		
							parent
							
								
									a4df5cc67b
								
							
						
					
					
						commit
						2196b708fa
					
				@ -203,6 +203,8 @@ class Highlights(QTreeWidget):
 | 
			
		||||
            for itemnum, h in enumerate(items):
 | 
			
		||||
                txt = h.get('highlighted_text')
 | 
			
		||||
                txt = txt.replace('\n', ' ')
 | 
			
		||||
                if h.get('notes'):
 | 
			
		||||
                    txt = '•' + txt
 | 
			
		||||
                if len(txt) > 100:
 | 
			
		||||
                    txt = txt[:100] + '…'
 | 
			
		||||
                item = QTreeWidgetItem(section, [txt], 2)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user