From f1ba280a5dd646654bd86fd3db26a2347484e8cc Mon Sep 17 00:00:00 2001 From: Trent MacAlpine Date: Wed, 5 Mar 2014 22:40:15 -0500 Subject: fdo#42164 Esc doesn't clear copy source overlay in panes of split/frozen view Change-Id: I480fe9a66773bbc6775c6d20c9cf0e2f7e21c230 Reviewed-on: https://gerrit.libreoffice.org/8472 Tested-by: Markus Mohrhard Reviewed-by: Markus Mohrhard --- sc/source/ui/view/gridwin.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sc') diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index 710f13102af3..2c279610f8e5 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -3264,7 +3264,8 @@ void ScGridWindow::KeyInput(const KeyEvent& rKEvt) // hide the border around the copy source pViewData->SetPasteMode( SC_PASTE_NONE ); - UpdateCopySourceOverlay(); + // Clear CopySourceOverlay in each window of a split/frozen tabview + pViewData->GetView()->UpdateCopySourceOverlay(); return; } // wenn semi-Modeless-SfxChildWindow-Dialog oben, keine KeyInputs: @@ -3273,7 +3274,8 @@ void ScGridWindow::KeyInput(const KeyEvent& rKEvt) if (rKeyCode.GetCode() == KEY_ESCAPE) { pViewData->SetPasteMode( SC_PASTE_NONE ); - UpdateCopySourceOverlay(); + // Clear CopySourceOverlay in each window of a split/frozen tabview + pViewData->GetView()->UpdateCopySourceOverlay(); } // query for existing note marker before calling ViewShell's keyboard handling // which may remove the marker -- cgit