mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-11-03 19:17:02 -05:00 
			
		
		
		
	Don't resort when editing columns in the main GUI
This commit is contained in:
		
							parent
							
								
									f21d1287e9
								
							
						
					
					
						commit
						db60769702
					
				@ -695,8 +695,8 @@ class BooksModel(QAbstractTableModel):
 | 
				
			|||||||
                self.db.set(row, column, val)
 | 
					                self.db.set(row, column, val)
 | 
				
			||||||
            self.emit(SIGNAL("dataChanged(QModelIndex, QModelIndex)"), \
 | 
					            self.emit(SIGNAL("dataChanged(QModelIndex, QModelIndex)"), \
 | 
				
			||||||
                                index, index)
 | 
					                                index, index)
 | 
				
			||||||
            if column == self.sorted_on[0]:
 | 
					            #if column == self.sorted_on[0]:
 | 
				
			||||||
                self.resort()
 | 
					            #    self.resort()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        return True
 | 
					        return True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user