diff options
author | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2016-05-14 20:09:26 -0400 |
---|---|---|
committer | Ashod Nakashian <ashnakash@gmail.com> | 2016-05-15 20:12:21 +0000 |
commit | 4523f78312bd07449fa205301d99a81ef0f69420 (patch) | |
tree | e27878839d877a9e5f01e4cbbf7a2397c14cd826 | |
parent | b5c2a3fdbbf4161b0699ba515f63f98d7607ddf2 (diff) |
LOK: invalidate annotation window upon showing
Change-Id: Ib2624c55759c8ac81986bf3b516fd17cbde19ec9
Reviewed-on: https://gerrit.libreoffice.org/25014
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
-rw-r--r-- | sw/source/uibase/docvw/SidebarWin.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/source/uibase/docvw/SidebarWin.cxx b/sw/source/uibase/docvw/SidebarWin.cxx index a66f9486ac27..79e334e3a528 100644 --- a/sw/source/uibase/docvw/SidebarWin.cxx +++ b/sw/source/uibase/docvw/SidebarWin.cxx @@ -1214,6 +1214,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() |