ui: Fixes for release

* improved color scheme contrasts
* fixed code view single not updated to font size change
* fixed tooltip shown when hovering error location
* fixed previous reference count shown when fulltext search has no results
This commit is contained in:
Eberhard Graether
2017-08-10 03:16:29 +02:00
parent d9c8de2951
commit bb5c1d49b6
5 changed files with 38 additions and 22 deletions
+12
View File
@@ -459,11 +459,23 @@ void QtCodeArea::contextMenuEvent(QContextMenuEvent* event)
void QtCodeArea::focusTokenIds(const std::vector<Id>& tokenIds)
{
if (m_navigator->hasErrors() && tokenIds.size() == 1)
{
QtCodeField::focusTokenIds(tokenIds);
return;
}
MessageFocusIn(tokenIds, TOOLTIP_ORIGIN_CODE).dispatch();
}
void QtCodeArea::defocusTokenIds(const std::vector<Id>& tokenIds)
{
if (m_navigator->hasErrors() && tokenIds.size() == 1)
{
QtCodeField::defocusTokenIds(tokenIds);
return;
}
MessageFocusOut(tokenIds).dispatch();
}