sc/source/ui/app/inputwin.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit ce9ab2c38a2886e5eab3cae4f09b975d31840633
Author:     Szymon Kłos <szymon.k...@collabora.com>
AuthorDate: Mon Oct 14 11:51:39 2024 +0200
Commit:     Tomaž Vajngerl <qui...@gmail.com>
CommitDate: Mon Oct 14 16:42:43 2024 +0200

    lok: calc: fix formulabar after accept formula command
    
    Steps to reproduce:
    1. open calc
    2. start typing into cell
    3. click "accept formula" button
    4. click again at formulabar
    5. try to type
    
    result: no text is shown
    expected: can edit formula
    
    Signed-off-by: Szymon Kłos <szymon.k...@collabora.com>
    Change-Id: I52cffef5a3a7d1f4ffa88675964090e68c0e1f48
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174886
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Tomaž Vajngerl <qui...@gmail.com>

diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index 8d7497966c9f..151cc34fec35 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -1827,6 +1827,9 @@ bool ScTextWnd::Command( const CommandEvent& rCEvt )
         if (!m_xEditView)
             return true;
 
+        // if we focus input after "Accept Formula" command, we need to notify 
to get it working
+        SC_MOD()->InputChanged(m_xEditView.get());
+
         // information about paragraph is in additional data
         // information about position in a paragraph in a Mouse Pos
         // see vcl/jsdialog/executor.cxx "textselection" event

Reply via email to