openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #06859
[Merge] lp:~raoul-snyman/openlp/language-menu into lp:openlp
Raoul Snyman has proposed merging lp:~raoul-snyman/openlp/language-menu into lp:openlp.
Requested reviews:
Tim Bentley (trb143)
For more details, see:
https://code.launchpad.net/~raoul-snyman/openlp/language-menu/+merge/52969
Change the "autodetect" item into a radio button and stop disabling the language items. This is a more sane and less irritating approach to selecting a language.
--
https://code.launchpad.net/~raoul-snyman/openlp/language-menu/+merge/52969
Your team OpenLP Core is subscribed to branch lp:openlp.
=== modified file 'openlp/core/ui/mainwindow.py'
--- openlp/core/ui/mainwindow.py 2011-03-06 19:25:35 +0000
+++ openlp/core/ui/mainwindow.py 2011-03-11 04:56:54 +0000
@@ -232,7 +232,7 @@
self.LanguageGroup = QtGui.QActionGroup(mainWindow)
self.LanguageGroup.setExclusive(True)
self.LanguageGroup.setObjectName(u'LanguageGroup')
- self.LanguageGroup.setDisabled(LanguageManager.auto_language)
+ add_actions(self.LanguageGroup, [self.AutoLanguageItem])
qmList = LanguageManager.get_qm_list()
savedLanguage = LanguageManager.get_language()
for key in sorted(qmList.keys()):