Kaydet (Commit) 4c6fc246 authored tarafından Jim Raykowski's avatar Jim Raykowski Kaydeden (comit) Markus Mohrhard

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/46883Reviewed-by: 's avatarEike Rathke <erack@redhat.com>
Tested-by: 's avatarEike Rathke <erack@redhat.com>
(cherry picked from commit 7416c2ea)
Reviewed-on: https://gerrit.libreoffice.org/48632Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst d76fc1a8
...@@ -1004,6 +1004,7 @@ void ScFormatShell::ExecuteNumFormat( SfxRequest& rReq ) ...@@ -1004,6 +1004,7 @@ void ScFormatShell::ExecuteNumFormat( SfxRequest& rReq )
{ {
switch ( nSlot ) switch ( nSlot )
{ {
case SID_NUMBER_TYPE_FORMAT:
case SID_NUMBER_TWODEC: case SID_NUMBER_TWODEC:
case SID_NUMBER_SCIENTIFIC: case SID_NUMBER_SCIENTIFIC:
case SID_NUMBER_DATE: case SID_NUMBER_DATE:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment