loleaflet/src/control/Control.Menubar.js | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit b6e7d963318bd38cfc0a0300e338276481e0800a Author: Pranam Lashkari <lpra...@collabora.com> AuthorDate: Mon Apr 13 14:59:15 2020 +0530 Commit: Andras Timar <andras.ti...@collabora.com> CommitDate: Thu Apr 16 06:50:08 2020 +0200 leaflet: show checked status for Track changes show ticks for record and show option in mobile wizard Change-Id: I8146a5d484ea7e7304c22e77a642d0b46f00bd91 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92108 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Andras Timar <andras.ti...@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92326 diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js index 1f397748c..919a4ab3f 100644 --- a/loleaflet/src/control/Control.Menubar.js +++ b/loleaflet/src/control/Control.Menubar.js @@ -1549,6 +1549,10 @@ L.Control.Menubar = L.Control.extend({ if (state && state[style]) { menuStructure['checked'] = true; } + } else if (item.uno === '.uno:TrackChanges' || item.uno === '.uno:ShowTrackedChanges') { + if (this._map['stateChangeHandler'].getItemValue(item.uno) === 'true') { + menuStructure['checked'] = true; + } } if (item.menu) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits