lok: style panel shortcut icon command fix
This reverts commit 90a63a2325e45b435762570ac9aecd50fcb5b676. lok: use .uno:SidebarDeck.StyleListDeck as shortcut it caused regresison in Writer where we should still open the Style Edit dialog. Only Calc should open style list. Change-Id: Ia8844330e8f91ef56864ae78b18d5ce57a146c58 Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> (cherry picked from commit 0f57885a3cf63af68bf07b14c5296e14ef0ad4c4) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182807 Tested-by: Jenkins
This commit is contained in:
@@ -435,7 +435,7 @@
|
||||
<value>PropertyDeck</value>
|
||||
</prop>
|
||||
<prop oor:name="DefaultMenuCommand">
|
||||
<value>.uno:SidebarDeck.StyleListDeck</value>
|
||||
<value>.uno:EditStyle</value>
|
||||
</prop>
|
||||
<prop oor:name="ContextList">
|
||||
<value oor:separator=";">
|
||||
|
||||
@@ -938,7 +938,7 @@ void ScTabViewShell::ExecStyle( SfxRequest& rReq )
|
||||
const sal_uInt16 nSlotId = rReq.GetSlot();
|
||||
if ( !pArgs && nSlotId != SID_STYLE_NEW_BY_EXAMPLE && nSlotId != SID_STYLE_UPDATE_BY_EXAMPLE )
|
||||
{
|
||||
// in case of vertical toolbar
|
||||
// in case of vertical toolbar, sidebar shortcut icon
|
||||
GetDispatcher()->Execute( SID_STYLE_DESIGNER, SfxCallMode::ASYNCHRON | SfxCallMode::RECORD );
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user