sw/source/uibase/docvw/SidebarWin.cxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit a5302d565f59e5017d283d7ab767fee7f2bae11e Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Sat May 14 20:09:26 2016 -0400 LOK: invalidate annotation window upon showing Change-Id: Ib2624c55759c8ac81986bf3b516fd17cbde19ec9 Reviewed-on: https://gerrit.libreoffice.org/25014 Reviewed-by: Ashod Nakashian <ashnak...@gmail.com> Tested-by: Ashod Nakashian <ashnak...@gmail.com> (cherry picked from commit 4523f78312bd07449fa205301d99a81ef0f69420) Reviewed-on: https://gerrit.libreoffice.org/25425 Tested-by: Jenkins <c...@libreoffice.org> diff --git a/sw/source/uibase/docvw/SidebarWin.cxx b/sw/source/uibase/docvw/SidebarWin.cxx index 428303d..d495b2e 100644 --- a/sw/source/uibase/docvw/SidebarWin.cxx +++ b/sw/source/uibase/docvw/SidebarWin.cxx @@ -1212,6 +1212,12 @@ void SwSidebarWin::ShowNote() mpShadow->setVisible(true); if (mpAnchor && !mpAnchor->isVisible()) mpAnchor->setVisible(true); + + // Invalidate. + mpSidebarTextControl->Push(PushFlags::MAPMODE); + lcl_translateTwips(EditWin(), *mpSidebarTextControl, nullptr); + mpSidebarTextControl->Invalidate(); + mpSidebarTextControl->Pop(); } void SwSidebarWin::HideNote() _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits