--- a/UI/UserInterface.py Tue Aug 31 13:39:24 2010 +0200 +++ b/UI/UserInterface.py Tue Aug 31 16:38:06 2010 +0200 @@ -2781,9 +2781,12 @@ if Preferences.getUI("CheckErrorLog"): logFile = os.path.join(Utilities.getConfigDir(), "eric5_error.log") if os.path.exists(logFile): - dlg = QMessageBox(QMessageBox.Question, self.trUtf8("Error log found"), + dlg = QMessageBox(QMessageBox.Question, + self.trUtf8("Error log found"), self.trUtf8("An error log file was found. " "What should be done with it?")) + dlg.setParent(self) + dlg.setWindowModality(Qt.WindowModal) try: f = open(logFile, "r", encoding = "utf-8") txt = f.read() @@ -5698,4 +5701,4 @@ if self.__startup: if Preferences.getGeometry("MainMaximized"): self.setWindowState(Qt.WindowStates(Qt.WindowMaximized)) - self.__startup = False \ No newline at end of file + self.__startup = False