summaryrefslogtreecommitdiff
path: root/src/createKicadLibrary.py
diff options
context:
space:
mode:
authorRahul P2019-12-30 12:39:33 +0530
committerGitHub2019-12-30 12:39:33 +0530
commit83eaefa28d5eea84f00276397445b707680293d5 (patch)
treede3a089a43d296902d09fb4a5382340ad457dbdc /src/createKicadLibrary.py
parent9faa3ee18b0fe7ec50399b06280a5247658c3e9c (diff)
parent9f4a01266df727287bab34ed40e039f5f13aa3ee (diff)
downloadnghdl-83eaefa28d5eea84f00276397445b707680293d5.tar.gz
nghdl-83eaefa28d5eea84f00276397445b707680293d5.tar.bz2
nghdl-83eaefa28d5eea84f00276397445b707680293d5.zip
Merge pull request #36 from rahulp13/master
handle apt errors, qt error-channel for make errors
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()