--- a/QScintilla/Shell.py Mon Aug 30 19:03:34 2010 +0200 +++ b/QScintilla/Shell.py Mon Aug 30 20:16:34 2010 +0200 @@ -15,6 +15,7 @@ from PyQt4.Qsci import QsciScintilla from E5Gui.E5Application import e5App +from E5Gui import E5MessageBox from . import Lexers from .QsciScintillaCompat import QsciScintillaCompat @@ -1356,7 +1357,7 @@ if not QFileInfo(fname).isDir(): self.vm.openSourceFile(fname) else: - QMessageBox.information(None, + E5MessageBox.information(self, self.trUtf8("Drop Error"), self.trUtf8("""<p><b>{0}</b> is not a file.</p>""") .format(fname)) @@ -1428,4 +1429,4 @@ """ Private method to open the configuration dialog. """ - e5App().getObject("UserInterface").showPreferences("shellPage") + e5App().getObject("UserInterface").showPreferences("shellPage") \ No newline at end of file