summaryrefslogtreecommitdiffstats
path: root/chart2/source/controller/dialogs
diff options
context:
space:
mode:
authorTünde Tóth <toth.tunde@nisz.hu>2021-06-14 17:16:05 +0200
committerLászló Németh <nemeth@numbertext.org>2021-06-22 17:34:46 +0200
commit1e7bf688967dc39540d24070c70c73b06bd1347f (patch)
tree76db2ad4f431b3cf1acbd18034282b10cb596ac4 /chart2/source/controller/dialogs
parentClarify no loplugin:overridevirtual with templated base class (diff)
downloadcore-1e7bf688967dc39540d24070c70c73b06bd1347f.tar.gz
core-1e7bf688967dc39540d24070c70c73b06bd1347f.zip
tdf#142851 Chart UI: fix empty Chart Type dialog
Chart Type dialog was empty, when the chart type of the chart was unsupported. Regression from commit: 4ff983b930dc15658aa531759d3f1e5b9586aeab (Related: tdf#142049 restore some elements default visibility in the ui) Change-Id: I057e6b9218edee398af8311c46b922ca76a9bcb5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117173 Tested-by: Jenkins Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'chart2/source/controller/dialogs')
-rw-r--r--chart2/source/controller/dialogs/tp_ChartType.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/chart2/source/controller/dialogs/tp_ChartType.cxx b/chart2/source/controller/dialogs/tp_ChartType.cxx
index 19084e9e5180..ce38e10511d1 100644
--- a/chart2/source/controller/dialogs/tp_ChartType.cxx
+++ b/chart2/source/controller/dialogs/tp_ChartType.cxx
@@ -349,7 +349,8 @@ void ChartTypeTabPage::initializePage()
if( !bFound )
{
- m_xSubTypeList->Hide();
+ m_xMainTypeList->show();
+ m_xSubTypeList->Show();
m_pDim3DLookResourceGroup->showControls( false );
m_pStackingResourceGroup->showControls( false );
m_pSplineResourceGroup->showControls( false );