sfx2/source/sidebar/SidebarController.cxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 6447dd1467f43fba57c593f614d7414202ddd287
Author:     codewithvk <[email protected]>
AuthorDate: Mon Feb 23 20:13:43 2026 +0530
Commit:     vivek javiya <[email protected]>
CommitDate: Tue Feb 24 13:26:31 2026 +0100

    sfx2: fix PropertyDeck statechanged broadcast for Writer/Calc
    
    Signed-off-by: codewithvk <[email protected]>
    Change-Id: I5fdb760149ccc8e7e130ed7fca73c16d2e8549b8
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200064
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Szymon Kłos <[email protected]>

diff --git a/sfx2/source/sidebar/SidebarController.cxx 
b/sfx2/source/sidebar/SidebarController.cxx
index c237e3119878..436ae48ce28c 100644
--- a/sfx2/source/sidebar/SidebarController.cxx
+++ b/sfx2/source/sidebar/SidebarController.cxx
@@ -80,8 +80,9 @@ namespace
         if (rsDeckId == u"SdCustomAnimationDeck")
             return ".uno:CustomAnimation";
 
-        if (rsDeckId == u"PropertyDeck")
-            return vcl::EnumContext::Application::Impress == 
vcl::EnumContext::GetApplicationEnum(context.msApplication) ? ".uno:ModifyPage" 
: ".uno:Sidebar";
+        if (rsDeckId == u"PropertyDeck"
+            && vcl::EnumContext::Application::Impress == 
vcl::EnumContext::GetApplicationEnum(context.msApplication))
+            return ".uno:ModifyPage";
 
         if (rsDeckId == u"SdLayoutsDeck")
             return ".uno:ModifyPage";

Reply via email to