r17908 by fschmid - Fixed Bug #2916: issue with copy/paste of textframes and possibly embedded frames

scribus-commit scribus-commit at lists.scribus.net
Sun Nov 25 16:13:37 UTC 2012


Author: fschmid
Date: Sun Nov 25 16:13:37 2012
New Revision: 17908

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17908
Log:
Fixed Bug #2916: issue with copy/paste of textframes and possibly embedded frames

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

Modified: trunk/Scribus/scribus/ui/storyeditor.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17908&path=/trunk/Scribus/scribus/ui/storyeditor.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/storyeditor.cpp (original)
+++ trunk/Scribus/scribus/ui/storyeditor.cpp Sun Nov 25 16:13:37 2012
@@ -671,6 +671,7 @@
 
 void SEditor::loadItemText(PageItem *currItem)
 {
+	setTextColor(Qt::black);
 	StyledText.clear();
 	FrameItems.clear();
 	StyledText.setDefaultStyle(currItem->itemText.defaultStyle());
@@ -693,6 +694,7 @@
 
 void SEditor::loadText(QString tx, PageItem *currItem)
 {
+	setTextColor(Qt::black);
 	setUpdatesEnabled(false);
 	QString Text = "";
 	StyledText.clear();




More information about the scribus-commit mailing list