src/eric7/WebBrowser/Navigation/NavigationBar.py

branch
eric7
changeset 10436
f6881d10e995
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
equal deleted inserted replaced
10435:c712d09cc839 10436:f6881d10e995
269 def __navigationMenuActionTriggered(self, act): 269 def __navigationMenuActionTriggered(self, act):
270 """ 270 """
271 Private slot to go to the selected page. 271 Private slot to go to the selected page.
272 272
273 @param act reference to the action selected in the navigation menu 273 @param act reference to the action selected in the navigation menu
274 (QAction) 274 @type QAction
275 """ 275 """
276 historyItem = act.data() 276 historyItem = act.data()
277 if historyItem is not None: 277 if historyItem is not None:
278 history = self.__mw.currentBrowser().history() 278 history = self.__mw.currentBrowser().history()
279 history.goToItem(historyItem) 279 history.goToItem(historyItem)

eric ide

mercurial