r22887 by jghali - Sort rejected fonts by name

scribus-commit scribus-commit at lists.scribus.net
Tue Mar 12 11:02:49 UTC 2019


Author: jghali
Date: Tue Mar 12 11:02:49 2019
New Revision: 22887

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22887
Log:
Sort rejected fonts by name

Modified:
    trunk/Scribus/scribus/ui/prefs_fonts.cpp

Modified: trunk/Scribus/scribus/ui/prefs_fonts.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22887&path=/trunk/Scribus/scribus/ui/prefs_fonts.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_fonts.cpp	(original)
+++ trunk/Scribus/scribus/ui/prefs_fonts.cpp	Tue Mar 12 11:02:49 2019
@@ -289,6 +289,8 @@
 		fontsRejectedTableWidget->setItem(i, 1, new QTableWidgetItem(value));
 		fontsRejectedTableWidget->setItem(i, 2, new QTableWidgetItem(key));
 	}
+
+	fontsRejectedTableWidget->sortItems(0, Qt::AscendingOrder);
 }
 
 void Prefs_Fonts::DelEntry()




More information about the scribus-commit mailing list