loleaflet/src/control/Control.Menubar.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 314432fbea4d3f71eba656cdaa97e9df090e16d1
Author:     Ashod Nakashian <ashod.nakash...@collabora.co.uk>
AuthorDate: Wed Dec 12 21:12:41 2018 -0500
Commit:     Michael Meeks <michael.me...@collabora.com>
CommitDate: Thu Nov 7 12:12:11 2019 +0100

    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.me...@collabora.com>
    Tested-by: Michael Meeks <michael.me...@collabora.com>

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'},
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to