leaflet: specify MasterSlidesPanel menu's uno property to handle state change
Even though we don't use the uno command (as the type action, because this entry doesn't exist in Core), we need it so the statechange notification updates the check state of the menu. (cherry picked from commit b536707f1708b24201fdeb721cdd1c83a4326aef) Change-Id: Ia24d94f146ca4a0a557a2e2557f8cc34cc2dc20e Reviewed-on: https://gerrit.libreoffice.org/82148 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
This commit is contained in:
parent
cd21bedb54
commit
314432fbea
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ L.Control.Menubar = L.Control.extend({
|
|||
{uno: '.uno:ModifyPage'},
|
||||
{uno: '.uno:SlideChangeWindow'},
|
||||
{uno: '.uno:CustomAnimation'},
|
||||
{name: _('Master Slides'), id: 'masterslidespanel', type: 'action'}]
|
||||
{uno: '.uno:MasterSlidesPanel', name: _('Master Slides'), id: 'masterslidespanel', type: 'action'}]
|
||||
},
|
||||
{name: _UNO('.uno:InsertMenu', 'presentation'), id: 'insert', type: 'menu', menu: [
|
||||
{name: _('Local Image...'), id: 'insertgraphic', type: 'action'},
|
||||
|
|
Loading…
Reference in a new issue