--- a/QScintilla/Exporters/ExporterTEX.py Mon Aug 30 20:16:34 2010 +0200 +++ b/QScintilla/Exporters/ExporterTEX.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 @@ -253,11 +255,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