sw/source/uibase/table/tablemgr.cxx |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 711aed772115cdcddfd0f411e9ca17e8a55dcdd3
Author:     Dennis Francis <[email protected]>
AuthorDate: Mon Feb 9 22:54:55 2026 +0530
Commit:     Dennis Francis <[email protected]>
CommitDate: Thu Feb 12 18:28:22 2026 +0100

    lok: sw: chart wizard updates the chart only...
    
    ... if the chart is activated like it is done in the desktop version.
    
    To reproduce:
        1. Create a .odt file
        2. Create a 2x2 table and insert data (first col can be a, b; second 
col can be 1, 2)
        3. Select the data, click insert Chart.
        4. Change chart type to a pie chart.
    
    What actually happens:
        The chart shown in the document is still showing a column chart,
        that is the chart is not updated.
    
    What should happen:
        The chart shown must change to a pie chart type.
    
    Note: Chart wizard never worked properly after jsdialog migration.
    
    Signed-off-by: Dennis Francis <[email protected]>
    Change-Id: Ic569424b12323283105320fa62037f337b848847
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199066
    Reviewed-by: Miklos Vajna <[email protected]>
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    (cherry picked from commit eeb5f37e264c9f9a93fd3b99d58a09f67d217577)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199137
    Tested-by: Jenkins

diff --git a/sw/source/uibase/table/tablemgr.cxx 
b/sw/source/uibase/table/tablemgr.cxx
index cebeb659987d..f7a7ab13f97a 100644
--- a/sw/source/uibase/table/tablemgr.cxx
+++ b/sw/source/uibase/table/tablemgr.cxx
@@ -230,10 +230,9 @@ uno::Reference< frame::XModel > SwTableFUNC::InsertChart(
     }
     m_pSh->EndAllAction();
 
-    if (xObj.is() && !comphelper::LibreOfficeKit::isActive())
+    if (xObj.is())
     {
-        // Let the chart be activated after the inserting (unless
-        // via LibreOfficeKit)
+        // Let the chart be activated after the inserting
         SfxInPlaceClient* pClient = m_pSh->GetView().FindIPClient( xObj, 
&m_pSh->GetView().GetEditWin() );
         if ( !pClient )
         {

Reply via email to