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

New commits:
commit eeb5f37e264c9f9a93fd3b99d58a09f67d217577
Author:     Dennis Francis <[email protected]>
AuthorDate: Mon Feb 9 22:54:55 2026 +0530
Commit:     Miklos Vajna <[email protected]>
CommitDate: Wed Feb 11 09:32:43 2026 +0100

    lok: sw: chart wizard updates the chart only...
    
    ... if the chart is activated like it is done in the desktop version.
    
    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]>

diff --git a/sw/source/uibase/table/tablemgr.cxx 
b/sw/source/uibase/table/tablemgr.cxx
index 01911aa623c6..dcb28c71d2f0 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