r18836 by jghali - #12085: Story Editor Subscript/Superscript preview does not correspond to the Text Frame
scribus-commit
scribus-commit at lists.scribus.net
Tue Feb 25 03:11:36 UTC 2014
Author: jghali
Date: Tue Feb 25 03:11:35 2014
New Revision: 18836
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18836
Log:
#12085: Story Editor Subscript/Superscript preview does not correspond to the Text Frame
Modified:
branches/Version14x/Scribus/scribus/storyeditor.cpp
Modified: branches/Version14x/Scribus/scribus/storyeditor.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18836&path=/branches/Version14x/Scribus/scribus/storyeditor.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/storyeditor.cpp (original)
+++ branches/Version14x/Scribus/scribus/storyeditor.cpp Tue Feb 25 03:11:35 2014
@@ -918,7 +918,7 @@
{
QTextCursor tCursor = textCursor();
setEffects(tCursor, effects);
- //setTextCursor(tCursor);
+ setTextCursor(tCursor);
}
void SEditor::setEffects(QTextCursor& tCursor, int effects)
@@ -2079,9 +2079,10 @@
currDoc=doc;
textChanged=false;
AlignTools->paraStyleCombo->setDoc(currDoc);
+ FillTools->setCurrentDocument(currDoc);
StrokeTools->setCurrentDocument(currDoc);
- FillTools->setCurrentDocument(currDoc);
Editor->setCurrentDocument(currDoc);
+ StyleTools->SetStyle(0);
currItem = item;
if (currItem!=NULL)
{
More information about the scribus-commit
mailing list