Helpviewer/QtHelpDocumentationDialog.py

changeset 12
1d8dd9706f46
parent 0
de9c2efb9d02
child 13
1af94a91f439
diff -r b0996e4a289e -r 1d8dd9706f46 Helpviewer/QtHelpDocumentationDialog.py
--- a/Helpviewer/QtHelpDocumentationDialog.py	Fri Jan 01 16:11:36 2010 +0000
+++ b/Helpviewer/QtHelpDocumentationDialog.py	Sat Jan 02 15:11:35 2010 +0000
@@ -11,7 +11,7 @@
 from PyQt4.QtCore import *
 from PyQt4.QtHelp import QHelpEngineCore
 
-from Ui_QtHelpDocumentationDialog import Ui_QtHelpDocumentationDialog
+from .Ui_QtHelpDocumentationDialog import Ui_QtHelpDocumentationDialog
 
 class QtHelpDocumentationDialog(QDialog, Ui_QtHelpDocumentationDialog):
     """
@@ -104,7 +104,7 @@
         items = self.documentsList.selectedItems()
         for item in items:
             ns = item.text()
-            if ns in openedDocs.values():
+            if ns in list(openedDocs.values()):
                 res = QMessageBox.information(self,
                     self.trUtf8("Remove Documentation"),
                     self.trUtf8("""Some documents currently opened reference the """

eric ide

mercurial