r19083 by jghali - #12264: Switching language (Hungarian > English) ++ click Character Styles == Crash
scribus-commit
scribus-commit at lists.scribus.net
Wed Apr 23 21:39:37 UTC 2014
Author: jghali
Date: Wed Apr 23 21:39:37 2014
New Revision: 19083
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19083
Log:
#12264: Switching language (Hungarian > English) ++ click Character Styles == Crash
Modified:
trunk/Scribus/scribus/ui/smcstylewidget.cpp
trunk/Scribus/scribus/ui/smtextstyles.cpp
Modified: trunk/Scribus/scribus/ui/smcstylewidget.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19083&path=/trunk/Scribus/scribus/ui/smcstylewidget.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/smcstylewidget.cpp (original)
+++ trunk/Scribus/scribus/ui/smcstylewidget.cpp Wed Apr 23 21:39:37 2014
@@ -74,6 +74,10 @@
void SMCStyleWidget::languageChange()
{
+ QStringList languageList;
+ LanguageManager::instance()->fillInstalledHyphStringList(&languageList);
+ fillLangComboFromList(languageList);
+
/***********************************/
/* Begin Tooltips */
/***********************************/
Modified: trunk/Scribus/scribus/ui/smtextstyles.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19083&path=/trunk/Scribus/scribus/ui/smtextstyles.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/smtextstyles.cpp (original)
+++ trunk/Scribus/scribus/ui/smtextstyles.cpp Wed Apr 23 21:39:37 2014
@@ -464,9 +464,6 @@
{
m_pwidget->languageChange();
m_pwidget->cpage->languageChange();
- QStringList languageList;
- LanguageManager::instance()->fillInstalledHyphStringList(&languageList);
- m_pwidget->cpage->fillLangComboFromList(languageList);
}
}
More information about the scribus-commit
mailing list