r20007 by jghali - fix used fonts not being specified as such in doc fonts prefs

scribus-commit scribus-commit at lists.scribus.net
Thu Apr 16 20:22:17 UTC 2015


Author: jghali
Date: Thu Apr 16 20:22:16 2015
New Revision: 20007

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20007
Log:
fix used fonts not being specified as such in doc fonts prefs

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=20007&path=/trunk/Scribus/scribus/ui/prefs_fonts.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_fonts.cpp (original)
+++ trunk/Scribus/scribus/ui/prefs_fonts.cpp Thu Apr 16 20:22:16 2015
@@ -48,7 +48,7 @@
 	CurrentPath = "";
 	setMinimumSize(fontMetrics().width( tr( "Available Fonts" )+ tr( "Font Substitutions" )+ tr( "Additional Paths" ))+180, 200);
 
-	fontListTableView->setModel(new FontListModel(fontListTableView));
+	fontListTableView->setModel(new FontListModel(fontListTableView, m_doc));
 
 	fontSubstitutionsTableWidget->setRowCount(RList.count());
 	fontSubstitutionsTableWidget->setColumnCount(2);




More information about the scribus-commit mailing list