- the SELECTED type of messages are no longer printed to shell from 2 reasons: first, too much spam and second, issue with displaying html

- on set_zero function and creation of new geometry or new excellon there is no longer a zoom fit
This commit is contained in:
Marius Stanciu
2019-02-09 19:44:01 +02:00
committed by Marius S
parent c59da8669b
commit b68a010bde
3 changed files with 24 additions and 10 deletions

View File

@@ -91,11 +91,11 @@ class TermWidget(QWidget):
elif style == 'err':
text = '<span style="font-weight: bold; color: red;">%s</span>' % text
elif style == 'warning':
text = '<span style="font-weight: bold; color: rgb(244, 182, 66);">%s</span>' % text
text = '<span style="font-weight: bold; color: #f4b642;">%s</span>' % text
elif style == 'success':
text = '<span style="font-weight: bold; color: rgb(8, 68, 0);">%s</span>' % text
text = '<span style="font-weight: bold; color: #084400;">%s</span>' % text
elif style == 'selected':
text = '<span style="font-weight: bold; color: rgb(0, 8, 255);">%s</span>' % text
text = ''
else:
text = '<span>%s</span>' % text # without span <br/> is ignored!!!