Some reformatting of error messages, mostly regarding line breaks.

This commit is contained in:
Veronica K. B. Olsen
2020-05-28 22:48:37 +02:00
parent 6f5a30092e
commit d852a1a144
6 changed files with 18 additions and 10 deletions
+2 -2
View File
@@ -553,7 +553,7 @@ class GuiMain(QMainWindow):
if self.docEditor.theHandle is None:
self.makeAlert(
["Please open a document to import the text file into."],
"Please open a document to import the text file into.",
nwAlert.ERROR
)
return False
@@ -782,7 +782,7 @@ class GuiMain(QMainWindow):
0 = info, 1 = warning, and 2 = error.
"""
if isinstance(theMessage, list):
popMsg = " ".join(theMessage)
popMsg = "<br>".join(theMessage)
logMsg = theMessage
else:
popMsg = theMessage