diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2024-10-14 11:51:39 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2024-10-14 16:42:43 +0200 |
commit | ce9ab2c38a2886e5eab3cae4f09b975d31840633 (patch) | |
tree | c3e8c414dba5ad7c1c1f910d84eb3354d3f1d09f /sc | |
parent | 2a6dc9dfd84b278352608f475a600e866846af2e (diff) |
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.klos@collabora.com>
Change-Id: I52cffef5a3a7d1f4ffa88675964090e68c0e1f48
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174886
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/app/inputwin.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
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 |