diff options
Diffstat (limited to 'sw/source/uibase/utlui')
-rw-r--r-- | sw/source/uibase/utlui/content.cxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx index 8536c4c62987..3feb1f98098d 100644 --- a/sw/source/uibase/utlui/content.cxx +++ b/sw/source/uibase/utlui/content.cxx @@ -2424,10 +2424,18 @@ void SwContentTree::ExecCommand(sal_uInt16 nCmd, bool bModifier) void SwContentTree::ShowTree() { - m_aUpdTimer.Start(); SvTreeListBox::Show(); } +void SwContentTree::Paint( vcl::RenderContext& rRenderContext, + const Rectangle& rRect ) +{ + // Start the update timer on the first paint; avoids + // flicker on the first reveal. + m_aUpdTimer.Start(); + SvTreeListBox::Paint( rRenderContext, rRect ); +} + // folded together will not be glidled void SwContentTree::HideTree() |