r15515 by craig - #9401: Only update font paths when not in doc setup
scribus-commit
scribus-commit at lists.scribus.net
Sat Oct 9 23:50:43 CEST 2010
Author: craig
Date: Sat Oct 9 21:50:43 2010
New Revision: 15515
URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15515
Log:
#9401: Only update font paths when not in doc setup
Modified:
trunk/Scribus/scribus/ui/prefs_fonts.cpp
Modified: trunk/Scribus/scribus/ui/prefs_fonts.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15515&path=/trunk/Scribus/scribus/ui/prefs_fonts.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_fonts.cpp (original)
+++ trunk/Scribus/scribus/ui/prefs_fonts.cpp Sat Oct 9 21:50:43 2010
@@ -208,7 +208,8 @@
void Prefs_Fonts::saveGuiToPrefs(struct ApplicationPrefs *prefsData) const
{
- writePaths();
+ if (m_doc==0)
+ writePaths();
prefsData->fontPrefs.GFontSub.clear();
uint a = 0;
for (QMap<QString,QString>::ConstIterator itfsu = RList.begin(); itfsu != RList.end(); ++itfsu)
More information about the scribus-commit
mailing list