mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-10-31 02:27:01 -04:00 
			
		
		
		
	Sort the names in the manage file excludes list
This commit is contained in:
		
							parent
							
								
									3477e6395c
								
							
						
					
					
						commit
						ba1b75e9fd
					
				| @ -934,7 +934,8 @@ class ManageExcludedFiles(Dialog): | ||||
|         self.files = QListWidget(self) | ||||
|         self.files.setSelectionMode(QAbstractItemView.SelectionMode.MultiSelection) | ||||
|         cc = current_container() | ||||
|         for name, mt in cc.mime_map.items(): | ||||
|         for name in sorted(cc.mime_map): | ||||
|             mt = cc.mime_map[name] | ||||
|             if mt in OEB_DOCS or mt in (NCX_MIME, OPF_MIME): | ||||
|                 i = QListWidgetItem(self.files) | ||||
|                 i.setText(name) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user