[Libreoffice-commits] core.git: sc/source
Marco Cecchetti
marco.cecchetti at collabora.com
Tue Jan 17 13:47:19 UTC 2017
sc/source/ui/drawfunc/futext3.cxx | 2 ++
sc/source/ui/view/viewfun6.cxx | 2 ++
2 files changed, 4 insertions(+)
New commits:
commit 457642759ff81aacf1451dd9025846799d0b978e
Author: Marco Cecchetti <marco.cecchetti at collabora.com>
Date: Wed Oct 19 22:08:06 2016 +0200
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 at gmail.com>
Tested-by: Marco Cecchetti <mrcekets at gmail.com>
diff --git a/sc/source/ui/drawfunc/futext3.cxx b/sc/source/ui/drawfunc/futext3.cxx
index 6046e4c..84debf7 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 ae40363..92a1804 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 );
}
}
}
More information about the Libreoffice-commits
mailing list