Helpviewer/QtHelpDocumentationDialog.py

changeset 536
6d8d39753c82
parent 535
4b00d7336e19
child 538
7f1a56e80124
--- a/Helpviewer/QtHelpDocumentationDialog.py	Mon Aug 30 19:03:34 2010 +0200
+++ b/Helpviewer/QtHelpDocumentationDialog.py	Mon Aug 30 20:16:34 2010 +0200
@@ -11,6 +11,8 @@
 from PyQt4.QtCore import *
 from PyQt4.QtHelp import QHelpEngineCore
 
+from E5Gui import E5MessageBox
+
 from .Ui_QtHelpDocumentationDialog import Ui_QtHelpDocumentationDialog
 
 class QtHelpDocumentationDialog(QDialog, Ui_QtHelpDocumentationDialog):
@@ -105,7 +107,7 @@
         for item in items:
             ns = item.text()
             if ns in list(openedDocs.values()):
-                res = QMessageBox.information(self,
+                res = QMessageBox.warning(self,
                     self.trUtf8("Remove Documentation"),
                     self.trUtf8("""Some documents currently opened reference the """
                                 """documentation you are attempting to remove. """

eric ide

mercurial