QScintilla/Exporters/ExporterHTML.py

changeset 537
72b32daeb8d6
parent 535
4b00d7336e19
child 564
b3d966393ba9
--- a/QScintilla/Exporters/ExporterHTML.py	Mon Aug 30 20:16:34 2010 +0200
+++ b/QScintilla/Exporters/ExporterHTML.py	Tue Aug 31 12:17:02 2010 +0200
@@ -16,6 +16,8 @@
 from PyQt4.QtGui import *
 from PyQt4.Qsci import QsciScintilla
 
+from E5Gui import E5MessageBox
+
 from .ExporterBase import ExporterBase
 
 import Preferences
@@ -391,11 +393,11 @@
                 f.close()
             except IOError as err:
                 QApplication.restoreOverrideCursor()
-                QMessageBox.critical(self.editor,
+                E5MessageBox.critical(self.editor,
                     self.trUtf8("Export source"),
                     self.trUtf8(\
                         """<p>The source could not be exported to <b>{0}</b>.</p>"""
                         """<p>Reason: {1}</p>""")\
                         .format(filename, str(err)))
         finally:
-            QApplication.restoreOverrideCursor()
+            QApplication.restoreOverrideCursor()
\ No newline at end of file

eric ide

mercurial