forked from openlp/openlp
Fix bug if no lanuagage files
This commit is contained in:
parent
551bf3c41f
commit
b73a921dbc
@ -107,6 +107,7 @@ class LanguageManager(object):
|
|||||||
``action``
|
``action``
|
||||||
The language menu option
|
The language menu option
|
||||||
"""
|
"""
|
||||||
|
if action:
|
||||||
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