forked from openlp/openlp
update
This commit is contained in:
parent
5b009a9ee4
commit
395fe85d42
@ -107,6 +107,9 @@ class LanguageManager(object):
|
|||||||
``action``
|
``action``
|
||||||
The language menu option
|
The language menu option
|
||||||
"""
|
"""
|
||||||
|
if action is None:
|
||||||
|
action_name = u'en'
|
||||||
|
else:
|
||||||
action_name = u'%s' % action.objectName()
|
action_name = u'%s' % action.objectName()
|
||||||
qm_list = LanguageManager.get_qm_list()
|
qm_list = LanguageManager.get_qm_list()
|
||||||
if LanguageManager.auto_language:
|
if LanguageManager.auto_language:
|
||||||
|
Loading…
Reference in New Issue
Block a user