diff options
-rw-r--r-- | sc/source/ui/drawfunc/futext3.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/viewfun6.cxx | 2 |
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 ); } } } |