r15157 by jghali - #9129 related : update correctly named styles infos in PP when changing selection
scribus-commit
scribus-commit at lists.scribus.net
Thu Jun 3 01:10:20 CEST 2010
Revision: 15157
Author: jghali
Date: 2010-06-02T23:09:21.768833Z
Commit message: #9129 related : update correctly named styles infos in PP when changing selection
Changeset:
M /branches/Version135/Scribus/scribus/scribus.cpp
Diffs:
Index: scribus/scribus.cpp
===================================================================
--- scribus/scribus.cpp (revision 15156)
+++ scribus/scribus.cpp (revision 15157)
@@ -3062,6 +3062,8 @@
else
{
doc->currentStyle = currItem->itemText.defaultStyle();
+ propertiesPalette->setParStyle(doc->currentStyle.parent());
+ propertiesPalette->setCharStyle(doc->currentStyle.charStyle().parent());
emit TextStyle(doc->currentStyle);
// to go: (av)
emit TextStrike(doc->currentStyle.charStyle().strikethruOffset(), doc->currentStyle.charStyle().strikethruWidth());
@@ -3115,6 +3117,8 @@
else
{
doc->currentStyle = currItem->itemText.defaultStyle();
+ propertiesPalette->setParStyle(doc->currentStyle.parent());
+ propertiesPalette->setCharStyle(doc->currentStyle.charStyle().parent());
emit TextStyle(doc->currentStyle);
// to go: (av)
emit TextStrike(doc->currentStyle.charStyle().strikethruOffset(), doc->currentStyle.charStyle().strikethruWidth());
More information about the scribus-commit
mailing list