summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2017-12-17 09:42:54 -0900
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2017-12-19 23:45:15 +0100
commite68184f712b151c03c2282bacd662ae103f3d3f2 (patch)
tree19d7b9b974a34522d0ad95cb99d490e10a7ed547 /sc
parentfeb043331207ae66e1ac6cce613ff052f96d4f02 (diff)
Uncheck Engineering notation checkbox on Scientific selection
In Calc, the Engineering notation checkbox in the Sidebar Properties deck Number Format panel can show checked when the cell number format does not contain engineering notation. Change-Id: Ia26fc430aecd7af2e0f614bf9314d99f8408e690 Reviewed-on: https://gerrit.libreoffice.org/46650 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> (cherry picked from commit 9e7caee0173c5ec2d8b5cfa6aedfd1c9674d442b) Reviewed-on: https://gerrit.libreoffice.org/46826
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx b/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx
index 54c3975c9b08..a0c9eb940f8f 100644
--- a/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx
+++ b/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx
@@ -214,6 +214,7 @@ void NumberFormatPropertyPanel::NotifyItemUpdate(
mpBtnThousand->Check(false);
mpBtnEngineering->Show(bIsScientific);
mpBtnEngineering->Enable(bIsScientific);
+ mpBtnEngineering->Check(false);
mpBtnNegRed->Enable();
mpFtDenominator->Show(bIsFraction);
mpEdDenominator->Show(bIsFraction);