From 314432fbea4d3f71eba656cdaa97e9df090e16d1 Mon Sep 17 00:00:00 2001 From: Ashod Nakashian Date: Wed, 12 Dec 2018 21:12:41 -0500 Subject: [PATCH] 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 Tested-by: Michael Meeks --- loleaflet/src/control/Control.Menubar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js index cd6f93f5a..68d06eedc 100644 --- a/loleaflet/src/control/Control.Menubar.js +++ b/loleaflet/src/control/Control.Menubar.js @@ -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'},