forked from qt-creator/qt-creator
update properly on text editor overlay visibility changes
This commit is contained in:
@@ -57,8 +57,8 @@ void TextEditorOverlay::setVisible(bool b)
|
|||||||
{
|
{
|
||||||
if (m_visible == b)
|
if (m_visible == b)
|
||||||
return;
|
return;
|
||||||
update();
|
|
||||||
m_visible = b;
|
m_visible = b;
|
||||||
|
m_viewport->update();
|
||||||
}
|
}
|
||||||
|
|
||||||
void TextEditorOverlay::clear()
|
void TextEditorOverlay::clear()
|
||||||
|
|||||||
Reference in New Issue
Block a user