summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
authorMarco Cecchetti <marco.cecchetti@collabora.com>2016-10-19 22:08:06 +0200
committerAndras Timar <andras.timar@collabora.com>2017-02-17 21:44:14 +0100
commite1b3492a9bea2f345f6852a3754ff4b71a152e02 (patch)
treebfb9f673b0b890bdd1498ff7c4ce4669fbb97dc6 /sc/source/ui
parent5c31a7baccc028163176b37b17cfaa8f5b315627 (diff)
LOK: Calc: notes: on edit mode starts/ends: missing tiles invalidation
On edit mode starts/ends, when a note is hidden, tiles, only the note tail belongs to, are not invalidated. Change-Id: I69487f428a121fc05da99d3b06786afd4f834766 Reviewed-on: https://gerrit.libreoffice.org/30101 Reviewed-by: Marco Cecchetti <mrcekets@gmail.com> Tested-by: Marco Cecchetti <mrcekets@gmail.com> (cherry picked from commit 457642759ff81aacf1451dd9025846799d0b978e)
Diffstat (limited to 'sc/source/ui')
-rw-r--r--sc/source/ui/drawfunc/futext3.cxx2
-rw-r--r--sc/source/ui/view/viewfun6.cxx2
2 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/drawfunc/futext3.cxx b/sc/source/ui/drawfunc/futext3.cxx
index 6046e4caa774..84debf723234 100644
--- a/sc/source/ui/drawfunc/futext3.cxx
+++ b/sc/source/ui/drawfunc/futext3.cxx
@@ -119,6 +119,8 @@ void FuText::StopEditMode()
if( pNote )
{
+ ScTabView::OnLOKNoteStateChanged( pNote );
+
// hide the caption object if it is in hidden state
pNote->ShowCaptionTemp( aNotePos, false );
diff --git a/sc/source/ui/view/viewfun6.cxx b/sc/source/ui/view/viewfun6.cxx
index ae40363227b9..92a18048dbf0 100644
--- a/sc/source/ui/view/viewfun6.cxx
+++ b/sc/source/ui/view/viewfun6.cxx
@@ -509,6 +509,8 @@ void ScViewFunc::EditNote()
{
ScrollToObject( pCaption ); // make object fully visible
pFuText->SetInEditMode( pCaption );
+
+ ScTabView::OnLOKNoteStateChanged( pNote );
}
}
}