r21257 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Fri Apr 29 23:41:28 UTC 2016


Author: jghali
Date: Fri Apr 29 23:41:28 2016
New Revision: 21257

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21257
Log:
#13998 related: fix activation issues of FromSubset/ToSubset buttons when changing font embedding mode (2)

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

Modified: trunk/Scribus/scribus/ui/tabpdfoptions.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21257&path=/trunk/Scribus/scribus/ui/tabpdfoptions.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/tabpdfoptions.cpp	(original)
+++ trunk/Scribus/scribus/ui/tabpdfoptions.cpp	Fri Apr 29 23:41:28 2016
@@ -400,12 +400,14 @@
 	}
 	fontEmbeddingCombo->setCurrentIndex((int) Opts.FontEmbedding);
 
+	EmbedList->clearSelection();
 	EmbedList->setEnabled(Opts.FontEmbedding == PDFOptions::EmbedFonts);
 	EmbedFonts->setEnabled(Opts.FontEmbedding == PDFOptions::EmbedFonts);
+	SubsetList->clearSelection();
 	SubsetList->setEnabled(Opts.FontEmbedding == PDFOptions::EmbedFonts);
 	SubsetFonts->setEnabled(Opts.FontEmbedding == PDFOptions::EmbedFonts);
-	ToSubset->setEnabled(Opts.FontEmbedding == PDFOptions::EmbedFonts);
-	FromSubset->setEnabled(Opts.FontEmbedding == PDFOptions::EmbedFonts);
+	ToSubset->setEnabled(false); // Will be enabled when user select a font in appropriate list
+	FromSubset->setEnabled(false); // Will be enabled when user select a font in appropriate list
 
 //	Build a list of all Fonts used in Annotations;
 	PageItem *pgit;




More information about the scribus-commit mailing list