sd/source/ui/annotations/annotationwindow.cxx |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 892b7c3e0b9de54b5efee669c25636888a9eabc1
Author:     Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk>
AuthorDate: Sun Jul 14 00:02:31 2024 +0900
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Tue Jul 23 10:20:54 2024 +0200

    annot: make all keys work when writing in annotation window
    
    We did not call the method on the superclass when we don't handle
    the key ourselves, but we should.
    
    Change-Id: I67d55773b7e86297c00727b4791c16a1adcc37f3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170430
    Tested-by: Jenkins
    Reviewed-by: Tomaž Vajngerl <qui...@gmail.com>
    (cherry picked from commit 3f7d0f79f1c43222bd160cffd9e443bb5fc91c99)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170832
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>

diff --git a/sd/source/ui/annotations/annotationwindow.cxx 
b/sd/source/ui/annotations/annotationwindow.cxx
index 04945f11431a..3768d2148cef 100644
--- a/sd/source/ui/annotations/annotationwindow.cxx
+++ b/sd/source/ui/annotations/annotationwindow.cxx
@@ -148,7 +148,10 @@ bool AnnotationTextWindow::KeyInput(const KeyEvent& 
rKeyEvt)
         }
     }
 
-    return bDone;
+    if (bDone)
+        return true;
+
+    return WeldEditView::KeyInput(rKeyEvt);
 }
 
 AnnotationTextWindow::AnnotationTextWindow(AnnotationWindow& rContents)

Reply via email to