Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

move open online help to be on all plateform

  • Loading branch information...
commit 564d1ca56340934e542507410fae35d78c104d52 1 parent e80884f
@Carreau Carreau authored fperez committed
Showing with 4 additions and 4 deletions.
  1. +4 −4 IPython/frontend/qt/console/qtconsoleapp.py
View
8 IPython/frontend/qt/console/qtconsoleapp.py
@@ -1005,6 +1005,10 @@ def init_window_shortcut(self):
self.window.window_menu.addAction(self.tabSameKernalAct)
self.window.window_menu.addSeparator()
+ self.onlineHelpAct = QtGui.QAction("Open Online &Help",
+ self.window,
+ triggered=self._open_online_help)
+ self.window.help_menu.addAction(self.onlineHelpAct)
# creating shortcut in menubar only for Mac OS as I don't
# know the shortcut or if the windows manager assign it in
# other platform.
@@ -1020,9 +1024,6 @@ def init_window_shortcut(self):
statusTip="Maximize the window/Restore Normal Size",
triggered=self.toggleMaximized)
- self.onlineHelpAct = QtGui.QAction("Open Online &Help",
- self.window,
- triggered=self._open_online_help)
self.window_menu = self.window.window_menu
@@ -1034,7 +1035,6 @@ def init_window_shortcut(self):
self.window_menu.addSeparator()
self.window_menu.addAction(self.fullScreenAct)
- self.window.help_menu.addAction(self.onlineHelpAct)
else:
# if we don't put it in a menu, we add it to the window so
# that it can still be triggerd by shortcut
Please sign in to comment.
Something went wrong with that request. Please try again.