r21087 by jghali -
scribus-commit
scribus-commit at lists.scribus.net
Tue Mar 15 22:41:17 UTC 2016
Author: jghali
Date: Tue Mar 15 22:41:17 2016
New Revision: 21087
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21087
Log:
#13814: Main Window layout should be RTL when Arabic translation selected
Modified:
trunk/Scribus/scribus/scribus.cpp
Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21087&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp (original)
+++ trunk/Scribus/scribus/scribus.cpp Tue Mar 15 22:41:17 2016
@@ -320,6 +320,7 @@
qApp->setStyleSheet(QString(stylesheet));
}
+ qApp->setLayoutDirection(QLocale(ScCore->getGuiLanguage()).textDirection());
previewDinUse = false;
printDinUse = false;
internalCopy = false;
@@ -8421,6 +8422,7 @@
m_prefsManager->languageChange();
CommonStrings::languageChange();
LanguageManager::instance()->languageChange();
+ qApp->setLayoutDirection(QLocale(ScCore->getGuiLanguage()).textDirection());
//Update actions
if (actionManager!=NULL)
{
More information about the scribus-commit
mailing list