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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user