summaryrefslogtreecommitdiff
path: root/src/ngspicetoModelica
diff options
context:
space:
mode:
Diffstat (limited to 'src/ngspicetoModelica')
-rw-r--r--src/ngspicetoModelica/ModelicaUI.py23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/ngspicetoModelica/ModelicaUI.py b/src/ngspicetoModelica/ModelicaUI.py
index 80d43445..eca03534 100644
--- a/src/ngspicetoModelica/ModelicaUI.py
+++ b/src/ngspicetoModelica/ModelicaUI.py
@@ -107,17 +107,18 @@ class OpenModelicaEditor(QtGui.QWidget):
else:
self.msg = QtGui.QMessageBox()
- self.msgContent = "There was an error while opening OMEdit.<br/>\
- Please make sure OpenModelica is installed in your \
- system. <br/>\
- To install it on Linux : Go to <a href= \
- https://www.openmodelica.org/download/download-linux> \
- OpenModelica Linux</a> \
- and install nigthly build release.<br/> \
- To install it on Windows : Go to <a href= \
- https://www.openmodelica.org/download/download-windows>\
- OpenModelica Windows</a> and install latest version. \
- <br/>"
+ self.msgContent = (
+ "There was an error while opening OMEdit.<br/>"
+ "Please make sure OpenModelica is installed in your"
+ " system.<br/>"
+ "To install it on Linux : Go to <a href="
+ "https://www.openmodelica.org/download/download-linux"
+ ">OpenModelica Linux</a> and install nightly build"
+ " release.<br/>"
+ "To install it on Windows : Go to <a href="
+ "https://www.openmodelica.org/download/download-windows"
+ ">OpenModelica Windows</a> and install latest version.<br/>"
+ )
self.msg.setTextFormat(QtCore.Qt.RichText)
self.msg.setText(self.msgContent)
self.msg.setWindowTitle("Missing OpenModelica")