forked from qt-creator/qt-creator
Reduces editor updates in certain cases
Done-with: Roberto Raggi
This commit is contained in:
@@ -59,7 +59,8 @@ void TextEditorOverlay::setVisible(bool b)
|
||||
if (m_visible == b)
|
||||
return;
|
||||
m_visible = b;
|
||||
m_viewport->update();
|
||||
if (!m_selections.isEmpty())
|
||||
m_viewport->update();
|
||||
}
|
||||
|
||||
void TextEditorOverlay::clear()
|
||||
|
||||
Reference in New Issue
Block a user