[Libreoffice-commits] core.git: Branch 'libreoffice-6-0' - sc/source

Jim Raykowski raykowj at gmail.com
Thu Jan 25 20:23:55 UTC 2018


 sc/source/ui/view/formatsh.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 4c6fc246c9d9388b7a512cb4371bc6bb09e8581b
Author: Jim Raykowski <raykowj at gmail.com>
Date:   Mon Dec 18 15:03:02 2017 -0900

    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 at redhat.com>
    Tested-by: Eike Rathke <erack at redhat.com>
    (cherry picked from commit 7416c2ea6c25ec1ff60ce1055b79b216cd501140)
    Reviewed-on: https://gerrit.libreoffice.org/48632
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx
index 82f5ba3fbc97..b6522696ad34 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:


More information about the Libreoffice-commits mailing list