forked from openlp/openlp
Fix Help menu for windows
bzr-revno: 2325
This commit is contained in:
commit
b713f3cac8
@ -291,7 +291,7 @@ class Ui_MainWindow(object):
|
|||||||
self.about_item.setMenuRole(QtGui.QAction.AboutRole)
|
self.about_item.setMenuRole(QtGui.QAction.AboutRole)
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
self.local_help_file = os.path.join(AppLocation.get_directory(AppLocation.AppDir), 'OpenLP.chm')
|
self.local_help_file = os.path.join(AppLocation.get_directory(AppLocation.AppDir), 'OpenLP.chm')
|
||||||
self.offline_help_item = create_action(main_window, 'offline_help_item',
|
self.offline_help_item = create_action(main_window, 'offlineHelpItem',
|
||||||
icon=':/system/system_help_contents.png',
|
icon=':/system/system_help_contents.png',
|
||||||
can_shortcuts=True,
|
can_shortcuts=True,
|
||||||
category=UiStrings().Help, triggers=self.on_offline_help_clicked)
|
category=UiStrings().Help, triggers=self.on_offline_help_clicked)
|
||||||
|
Loading…
Reference in New Issue
Block a user