diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-05-03 15:08:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-05-03 22:01:37 +0200 |
commit | f8f65d88ede1db197c35be7b0db117c321b0d180 (patch) | |
tree | 903c7da9700e25cc54f5d499e7f2638fd86bd940 /sc/source/ui/view/tabview5.cxx | |
parent | a0b549c0081f37aada8e53addf5e0b5929fb4636 (diff) |
Resolves: tdf#117005 undo/redo skips comment when switching sheets
while insert comment is active
regression from....
commit 80509950d35cebaede89fcb52c446a1fd3e45ba3
Author: Caolán McNamara <caolanm@redhat.com>
Date: Mon Jul 4 15:31:29 2016 +0100
Resolves: tdf#100761 after insert note, focus cannot return to inputbar
which is a suspected regression from.
commit 11d605cc5a0c221d2423b6e63f502db660d085d2
Date: Mon Feb 1 18:39:51 2016 +0200
tdf#84843 Stop using PseudoSlots for drawing slots
Change-Id: Id4614624cbb85411ba0d368ae072a05f5f9e09ad
Reviewed-on: https://gerrit.libreoffice.org/53798
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/view/tabview5.cxx')
-rw-r--r-- | sc/source/ui/view/tabview5.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/view/tabview5.cxx b/sc/source/ui/view/tabview5.cxx index f263f3daaff3..e78b45ced30a 100644 --- a/sc/source/ui/view/tabview5.cxx +++ b/sc/source/ui/view/tabview5.cxx @@ -372,7 +372,8 @@ void ScTabView::DrawDeselectAll() if (pDrawView) { ScTabViewShell* pViewSh = aViewData.GetViewShell(); - if (pDrawActual && pViewSh->IsDrawTextShell()) + if ( pDrawActual && + ( pViewSh->IsDrawTextShell() || pDrawActual->GetSlotID() == SID_DRAW_NOTEEDIT ) ) { // end text edit (as if escape pressed, in FuDraw) aViewData.GetDispatcher().Execute( pDrawActual->GetSlotID(), |