r22006 by jghali - #14781: Child Style doesn't update text direction when selected
scribus-commit
scribus-commit at lists.scribus.net
Thu Apr 27 22:12:56 UTC 2017
Author: jghali
Date: Thu Apr 27 22:12:56 2017
New Revision: 22006
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22006
Log:
#14781: Child Style doesn't update text direction when selected
Modified:
trunk/Scribus/scribus/ui/smpstylewidget.cpp
Modified: trunk/Scribus/scribus/ui/smpstylewidget.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22006&path=/trunk/Scribus/scribus/ui/smpstylewidget.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/smpstylewidget.cpp (original)
+++ trunk/Scribus/scribus/ui/smpstylewidget.cpp Thu Apr 27 22:12:56 2017
@@ -289,9 +289,11 @@
spaceBelow->setValue(pstyle->gapAfter(), pstyle->isInhGapAfter());
spaceBelow->setParentValue(parent->gapAfter());
-
alignment->setStyle(pstyle->alignment(), direction->getStyle(), pstyle->isInhAlignment());
alignment->setParentItem(parent->alignment(), direction->getStyle());
+
+ direction->setStyle(pstyle->direction());
+ direction->setParentItem(parent->direction());
bool hasParentTabs = pstyle->isInhTabValues();
QList<ParagraphStyle::TabRecord> tabs;
More information about the scribus-commit
mailing list