eric6/WebBrowser/QtHelp/HelpIndexWidget.py

changeset 7759
51aa6c6b66f7
parent 7360
9190402e4505
child 7781
607a6098cb44
--- a/eric6/WebBrowser/QtHelp/HelpIndexWidget.py	Mon Oct 05 19:51:55 2020 +0200
+++ b/eric6/WebBrowser/QtHelp/HelpIndexWidget.py	Tue Oct 06 17:52:44 2020 +0200
@@ -128,7 +128,7 @@
         link = QUrl()
         from .HelpTopicDialog import HelpTopicDialog
         dlg = HelpTopicDialog(self, keyword, links)
-        if dlg.exec_() == QDialog.Accepted:
+        if dlg.exec() == QDialog.Accepted:
             link = dlg.link()
         return link
     
@@ -210,7 +210,7 @@
             newWindow = menu.addAction(self.tr("Open Link in New Window"))
             menu.move(self.__index.mapToGlobal(pos))
             
-            act = menu.exec_()
+            act = menu.exec()
             model = self.__index.model()
             if model is not None:
                 keyword = model.data(idx, Qt.DisplayRole)

eric ide

mercurial