[Libreoffice-commits] core.git: Branch 'distro/cib/libreoffice-6-1' - sd/source

Samuel Mehrbrodt (via logerrit) logerrit at kemper.freedesktop.org
Fri Apr 23 15:08:48 UTC 2021


 sd/source/ui/view/drviews4.cxx |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

New commits:
commit 76ae33f415e6df0e267022bddb5c1b75df4346a6
Author:     Samuel Mehrbrodt <samuel.mehrbrodt at allotropia.de>
AuthorDate: Wed Apr 21 10:57:16 2021 +0200
Commit:     Thorsten Behrens <thorsten.behrens at allotropia.de>
CommitDate: Fri Apr 23 17:08:13 2021 +0200

    tdf#141703 Restore tab function in sd tables
    
    Regression from 67ad205404211a2ae17c430a17ede6e9d04d0b7e
    
    Change-Id: Iadbdaf1b59d2481264e45b85aed248c84404c26b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114383
    Tested-by: Jenkins
    Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt at allotropia.de>
    (cherry picked from commit 75f5fdbbe48a847874397d9d126f832dbdfada5a)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114369
    Tested-by: Thorsten Behrens <thorsten.behrens at allotropia.de>
    Reviewed-by: Thorsten Behrens <thorsten.behrens at allotropia.de>

diff --git a/sd/source/ui/view/drviews4.cxx b/sd/source/ui/view/drviews4.cxx
index 91b00f978496..d02d1105a4a6 100644
--- a/sd/source/ui/view/drviews4.cxx
+++ b/sd/source/ui/view/drviews4.cxx
@@ -124,9 +124,9 @@ void DrawViewShell::DeleteActualLayer()
 
 bool DrawViewShell::KeyInput (const KeyEvent& rKEvt, ::sd::Window* pWin)
 {
-    bool bRet = GetView()->KeyInput(rKEvt, pWin);
+    bool bRet = false;
 
-    if (!bRet && (!IsInputLocked() || (rKEvt.GetKeyCode().GetCode() == KEY_ESCAPE)))
+    if (!IsInputLocked() || (rKEvt.GetKeyCode().GetCode() == KEY_ESCAPE))
     {
         if(KEY_RETURN == rKEvt.GetKeyCode().GetCode()
             && rKEvt.GetKeyCode().IsMod1()
@@ -203,6 +203,9 @@ bool DrawViewShell::KeyInput (const KeyEvent& rKEvt, ::sd::Window* pWin)
         }
     }
 
+    if (!bRet)
+        bRet = GetView()->KeyInput(rKEvt, pWin);
+
     return bRet;
 }
 


More information about the Libreoffice-commits mailing list