← Back to team overview

openlp-core team mailing list archive

Re: [Merge] lp:~crichter/openlp/i18n into lp:openlp

 

Review: Needs Fixing
Still getting an exception if I don't have a language pre-selected.

Traceback (most recent call last):
  File "/home/raoul/Projects/OpenLP/i18n/openlp/core/ui/mainwindow.py", line 578, in setAutoLanguage
    LanguageManager.set_language(self.LanguageGroup.checkedAction())
  File "/home/raoul/Projects/OpenLP/i18n/openlp/core/utils/languagemanager.py", line 82, in set_language
    actionName = u'%s' % action.objectName()
AttributeError: 'NoneType' object has no attribute 'objectName'

An easy way to reproduce this:
 - edit ~/.config/OpenLP/OpenLP.conf
 - remove the language setting in the %General section
 - start OpenLP and unselect "Auto Detect"
-- 
https://code.launchpad.net/~crichter/openlp/i18n/+merge/25103
Your team OpenLP Core is subscribed to branch lp:openlp.



References