Commit f1932cff authored by mae's avatar mae
Browse files

update properly on text editor overlay visibility changes

parent 7ed47e1e
...@@ -57,8 +57,8 @@ void TextEditorOverlay::setVisible(bool b) ...@@ -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()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment