[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - chart2/source
Muhammet Kara (via logerrit)
logerrit at kemper.freedesktop.org
Thu Nov 7 17:34:36 UTC 2019
chart2/source/controller/sidebar/ChartTypePanel.cxx | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
New commits:
commit 58adc10c6f78218bee36f9d9d165978baa4bff28
Author: Muhammet Kara <muhammet.kara at collabora.com>
AuthorDate: Thu Nov 7 19:48:05 2019 +0300
Commit: Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Thu Nov 7 18:33:51 2019 +0100
ChartTypePanel: Enable handler sub-type selection
Change-Id: I339b5f8b7be55c64c740f252c880e87a69e1ef4b
Reviewed-on: https://gerrit.libreoffice.org/82241
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Muhammet Kara <muhammet.kara at collabora.com>
diff --git a/chart2/source/controller/sidebar/ChartTypePanel.cxx b/chart2/source/controller/sidebar/ChartTypePanel.cxx
index 1499c5270507..87a7141b2f8d 100644
--- a/chart2/source/controller/sidebar/ChartTypePanel.cxx
+++ b/chart2/source/controller/sidebar/ChartTypePanel.cxx
@@ -692,13 +692,13 @@ IMPL_LINK_NOARG(ChartTypePanel, SelectMainTypeHdl, ListBox&, void) { selectMainT
IMPL_LINK_NOARG(ChartTypePanel, SelectSubTypeHdl, ValueSet*, void)
{
- /*if( m_pCurrentMainType )
+ if (m_pCurrentMainType)
{
- ChartTypeParameter aParameter( getCurrentParamter() );
- m_pCurrentMainType->adjustParameterToSubType( aParameter );
- fillAllControls( aParameter, false );
- commitToModel( aParameter );
- }*/
+ ChartTypeParameter aParameter(getCurrentParamter());
+ m_pCurrentMainType->adjustParameterToSubType(aParameter);
+ fillAllControls(aParameter, false);
+ commitToModel(aParameter);
+ }
}
void ChartTypePanel::Initialize()
More information about the Libreoffice-commits
mailing list