mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-11-03 19:17:02 -05:00 
			
		
		
		
	more pyqt6 enum goodness
This commit is contained in:
		
							parent
							
								
									a301e71328
								
							
						
					
					
						commit
						1d67f1e923
					
				@ -676,7 +676,7 @@ class TemplateDialog(QDialog, Ui_TemplateDialog):
 | 
			
		||||
            self.last_text = cur_text
 | 
			
		||||
            self.highlighter.regenerate_paren_positions()
 | 
			
		||||
            self.text_cursor_changed()
 | 
			
		||||
            if self.break_box.checkState() == 0:
 | 
			
		||||
            if self.break_box.checkState() == Qt.CheckState.Unchecked:
 | 
			
		||||
                self.display_values(cur_text)
 | 
			
		||||
 | 
			
		||||
    def display_values(self, txt):
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user