diff options
author | Jim Raykowski <raykowj@gmail.com> | 2017-12-18 15:03:02 -0900 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2018-01-25 18:20:10 +0100 |
commit | 7416c2ea6c25ec1ff60ce1055b79b216cd501140 (patch) | |
tree | 6010ad51fea4cd01b4d283b67ec9676d6aabfea2 | |
parent | 35f6b6f6b9693e098b8407c3c35e74087d59ed8e (diff) |
tdf#114519 Update cell content on sidebar number format change
In Calc, when the cursor is flashing in a cell (input mode) and the
sidebar Number Format panel 'Select a category of contents' drop down
selection is changed the cell contents does not update on selection
change.
This patch ends cell input mode on 'Select a category of contents' drop
down change allowing cell to be updated to the selected number format.
Change-Id: Ia1f46499ada2cfbcc82bd5babb6cf56ae0d6259c
Reviewed-on: https://gerrit.libreoffice.org/46883
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
-rw-r--r-- | sc/source/ui/view/formatsh.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx index 1e84cd3f7942..94961fa1c4aa 100644 --- a/sc/source/ui/view/formatsh.cxx +++ b/sc/source/ui/view/formatsh.cxx @@ -1004,6 +1004,7 @@ void ScFormatShell::ExecuteNumFormat( SfxRequest& rReq ) { switch ( nSlot ) { + case SID_NUMBER_TYPE_FORMAT: case SID_NUMBER_TWODEC: case SID_NUMBER_SCIENTIFIC: case SID_NUMBER_DATE: |