summaryrefslogtreecommitdiff
path: root/src/createKicadLibrary.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/createKicadLibrary.py')
-rw-r--r--src/createKicadLibrary.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/createKicadLibrary.py b/src/createKicadLibrary.py
index 49c298e..a75413c 100644
--- a/src/createKicadLibrary.py
+++ b/src/createKicadLibrary.py
@@ -28,8 +28,8 @@ class AutoSchematic(QtGui.QWidget):
self.createLib()
elif (xmlFound == self.xml_loc + '/Nghdl'):
print 'Library already exists...'
- ret = QtGui.QMessageBox.critical(self, "Critical",'''<b>The Libraries of this model already exist.Do you want to overwrite it?</b><br/>
- <b>If yes, press ok else cancel it and change the name of your vhdl file</b>''', QtGui.QMessageBox.Ok, QtGui.QMessageBox.Cancel)
+ ret = QtGui.QMessageBox.warning(self, "Warning",'''<b>Library files for this model already exist. Do you want to overwrite it?</b><br/>
+ If yes press ok, else cancel it and change the name of your vhdl file.''', QtGui.QMessageBox.Ok, QtGui.QMessageBox.Cancel)
if ret == QtGui.QMessageBox.Ok:
print "Overwriting existing libraries"
self.getPortInformation()
@@ -41,7 +41,7 @@ class AutoSchematic(QtGui.QWidget):
quit()
else:
print 'Pre existing library...'
- ret = QtGui.QMessageBox.critical(self, "Error",'''<b>A standard library already exists in this name.</b><br/>
+ ret = QtGui.QMessageBox.critical(self, "Error",'''<b>A standard library already exists with this name.</b><br/>
<b>Please change the name of your vhdl file and upload it again</b>''', QtGui.QMessageBox.Ok)
# quit()