mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-11-04 03:27:00 -05:00 
			
		
		
		
	Remove calls to model when selected text changes
This commit is contained in:
		
							parent
							
								
									2e6f424e0a
								
							
						
					
					
						commit
						9fbdff152e
					
				@ -224,10 +224,6 @@ class BooksView(QTableView):  # {{{
 | 
				
			|||||||
        if tweaks['selected_cell_highlight_css']:
 | 
					        if tweaks['selected_cell_highlight_css']:
 | 
				
			||||||
            self.setStyleSheet(tweaks['selected_cell_highlight_css'])
 | 
					            self.setStyleSheet(tweaks['selected_cell_highlight_css'])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def currentChanged(self, current, previous):
 | 
					 | 
				
			||||||
        self.model().set_current_cell(current)
 | 
					 | 
				
			||||||
        QTableView.currentChanged(self, current, previous)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    # Column Header Context Menu {{{
 | 
					    # Column Header Context Menu {{{
 | 
				
			||||||
    def column_header_context_handler(self, action=None, column=None):
 | 
					    def column_header_context_handler(self, action=None, column=None):
 | 
				
			||||||
        if not action or not column:
 | 
					        if not action or not column:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user