diff options
author | Balazs Varga <balazs.varga991@gmail.com> | 2020-03-25 11:31:02 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2020-04-09 10:25:52 +0200 |
commit | e4a087876da2584b772480d4fe8fc58081dfe0b8 (patch) | |
tree | 66a698eb2271cb21d5cf1ab4c36dac808a98ff9f /sc | |
parent | ab4522548179651c55edbe7ee19cc90658d68634 (diff) |
tdf#95425 follow-up: enable "Source format" checkbox of data label
settings after file opening, if its value is true in the opened
ODF or OOXML document, instead of always showing disabled state.
Testing notes: double click on a data label during chart editing
of unit test document testAreaChartNumberFormat.docx of
commit e57d90cd4e51a1353eafc87bb29cfe6076704a7c
(tdf#129173 tdf#129175 Fix number format of data labels)
to see the Data Labels for Data Series... window. On the page
"Data Labels...", click on the Number format... button to see
the enabled checkbox "Source format" (that was disabled
previously).
Change-Id: I2845e6f462db273f21c47bb286bed56046f8cf21
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91038
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/uitest/chart/chartDataLabels.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/qa/uitest/chart/chartDataLabels.py b/sc/qa/uitest/chart/chartDataLabels.py index a63d8fd8a23d..378670faec51 100644 --- a/sc/qa/uitest/chart/chartDataLabels.py +++ b/sc/qa/uitest/chart/chartDataLabels.py @@ -276,8 +276,10 @@ class chartDataLabels(UITestCase): def handle_number_dlg(dialog): categoryformat = dialog.getChild("categorylb") formatted = dialog.getChild("formatted") + sourceformat = dialog.getChild("sourceformat") # Select currency + sourceformat.executeAction("CLICK", tuple()); categoryformat.getChild("4").executeAction("SELECT", tuple()); self.assertEqual(get_state_as_dict(categoryformat)["SelectEntryText"], "Currency") |