forked from openlp/openlp
Fix typo
This commit is contained in:
parent
ef5b1cf4ac
commit
e86539888d
|
@ -320,9 +320,9 @@ class Ui_MainWindow(object):
|
||||||
# i18n add Language Actions
|
# i18n add Language Actions
|
||||||
add_actions(self.settings_language_menu, (self.auto_language_item, None))
|
add_actions(self.settings_language_menu, (self.auto_language_item, None))
|
||||||
add_actions(self.settings_language_menu, self.language_group.actions())
|
add_actions(self.settings_language_menu, self.language_group.actions())
|
||||||
# Qt on OS X look for keywords in the menu items title to determine which menu items get added to the main menu.
|
# Qt on OS X looks for keywords in the menu items title to determine which menu items get added to the main
|
||||||
# If we are running on Mac OS X the menu items whose title contains those keywords but don't belong in the main
|
# menu. If we are running on Mac OS X the menu items whose title contains those keywords but don't belong in the
|
||||||
# menu need to be marked as such with QAction.NoRole.
|
# main menu need to be marked as such with QAction.NoRole.
|
||||||
if sys.platform == 'darwin':
|
if sys.platform == 'darwin':
|
||||||
self.settings_shortcuts_item.setMenuRole(QtGui.QAction.NoRole)
|
self.settings_shortcuts_item.setMenuRole(QtGui.QAction.NoRole)
|
||||||
self.formatting_tag_item.setMenuRole(QtGui.QAction.NoRole)
|
self.formatting_tag_item.setMenuRole(QtGui.QAction.NoRole)
|
||||||
|
|
Loading…
Reference in New Issue