eric6/WebBrowser/QtHelp/QtHelpDocumentationDialog.py

changeset 7759
51aa6c6b66f7
parent 7628
f904d0eef264
child 7923
91e843545d9a
--- a/eric6/WebBrowser/QtHelp/QtHelpDocumentationDialog.py	Mon Oct 05 19:51:55 2020 +0200
+++ b/eric6/WebBrowser/QtHelp/QtHelpDocumentationDialog.py	Tue Oct 06 17:52:44 2020 +0200
@@ -130,7 +130,7 @@
             self.__pluginHelpDocuments,
             QtHelpDocumentationSelectionDialog.AddMode,
             self)
-        if dlg.exec_() == QDialog.Accepted:
+        if dlg.exec() == QDialog.Accepted:
             documents = dlg.getData()
             if not documents:
                 return
@@ -149,7 +149,7 @@
             self.__pluginHelpDocuments,
             QtHelpDocumentationSelectionDialog.ManageMode,
             self)
-        dlg.exec_()
+        dlg.exec()
     
     def __registerDocumentations(self, fileNames):
         """

eric ide

mercurial