chart2/source/controller/sidebar/ChartElementsPanel.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0ced5dfbef64feaf24309eecd58e3ab9d8df860b
Author:     Muhammet Kara <muhammet.k...@collabora.com>
AuthorDate: Wed Mar 18 13:56:43 2020 +0300
Commit:     Andras Timar <andras.ti...@collabora.com>
CommitDate: Wed Mar 18 13:52:27 2020 +0100

    Sidebar: Fix title & subtitle checkboxes on the ChartDeck
    
    They now work as they did before the regression. An uncheck action
    removes the title/subtitle, and a check action just makes the existing
    title/subtitle visible or creates a new one if it doesn't exist
    
    Change-Id: I23122d1be2d95af878b824ba194bd1aeed5f4f89
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90692
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Andras Timar <andras.ti...@collabora.com>

diff --git a/chart2/source/controller/sidebar/ChartElementsPanel.cxx 
b/chart2/source/controller/sidebar/ChartElementsPanel.cxx
index 2f9d7ebaec27..28bc8c1a5469 100644
--- a/chart2/source/controller/sidebar/ChartElementsPanel.cxx
+++ b/chart2/source/controller/sidebar/ChartElementsPanel.cxx
@@ -599,7 +599,7 @@ void 
ChartElementsPanel::setTitleVisible(TitleHelper::eTitleType eTitle, bool bV
     }
     else
     {
-        TitleHelper::hideTitle(eTitle, mxModel);
+        TitleHelper::removeTitle(eTitle, mxModel);
     }
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to