ui: Updates for release
* updated color scheme highlight colors * fixed highlight color resetting * prevent project file being save with no changes * fixed MessageListener crash due to alive flag being set too late * new edit project icon
This commit is contained in:
@@ -712,7 +712,11 @@ void QtCodeArea::annotateText()
|
||||
{
|
||||
if (newColor.text.size() > 0 && newColor.text != "transparent")
|
||||
{
|
||||
annotation.oldTextColor = m_highlighter->getFormat(annotation.start, annotation.end).foreground().color();
|
||||
if (!annotation.oldTextColor.isValid())
|
||||
{
|
||||
annotation.oldTextColor = m_highlighter->getFormat(annotation.start, annotation.end).foreground().color();
|
||||
}
|
||||
|
||||
setTextColorForAnnotation(annotation, QColor(newColor.text.c_str()));
|
||||
}
|
||||
else if (annotation.oldTextColor.isValid())
|
||||
|
||||
Reference in New Issue
Block a user