r15158 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:20:21 CEST 2010
Revision: 15158
Author: jghali
Date: 2010-06-02T23:10:30.311240Z
Commit message: #9129 related : update correctly named styles infos in PP when changing selection
Changeset:
M /trunk/Scribus/scribus/scribus.cpp
Diffs:
Index: scribus/scribus.cpp
===================================================================
--- scribus/scribus.cpp (revision 15157)
+++ scribus/scribus.cpp (revision 15158)
@@ -2737,6 +2737,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());
@@ -2808,6 +2810,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