Fix bug if no lanuagage files

This commit is contained in:
Tim Bentley 2010-09-20 05:59:51 +01:00
parent 551bf3c41f
commit b73a921dbc
1 changed files with 14 additions and 13 deletions

View File

@ -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: