summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2017-12-17 09:42:54 -0900
committerEike Rathke <erack@redhat.com>2017-12-19 22:24:47 +0100
commit9e7caee0173c5ec2d8b5cfa6aedfd1c9674d442b (patch)
tree11a119699b59e60916637635bbc719d522280c82 /sc/source
parent4f0a97a81dc9aa93dd6579590110a1ea71154351 (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>
Diffstat (limited to 'sc/source')
-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);