loleaflet/src/control/Control.MobileWizard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 9b64bd381995662a65306659409f78865c47f318 Author: Tamás Zolnai <tamas.zol...@collabora.com> AuthorDate: Mon Feb 3 03:37:39 2020 +0100 Commit: Tamás Zolnai <tamas.zol...@collabora.com> CommitDate: Mon Feb 3 03:37:39 2020 +0100 Fix font / highlight color dropdown doesn't work Regression from: 298f4297c21f4b7cd5836b90bafcc803f13adb00 Change-Id: Ic0001157b3866cbf3293812573c33d6b4a18a9d6 diff --git a/loleaflet/src/control/Control.MobileWizard.js b/loleaflet/src/control/Control.MobileWizard.js index 02b90407b..92445e5a3 100644 --- a/loleaflet/src/control/Control.MobileWizard.js +++ b/loleaflet/src/control/Control.MobileWizard.js @@ -291,7 +291,7 @@ L.Control.MobileWizard = L.Control.extend({ this._reset(); var mWizardContentLength; - if (data.children[0].type == 'menuitem' || data.children[0].type == 'htmlcontrol') + if (data.children[0].type == 'menuitem' || data.children[0].children === undefined) mWizardContentLength = data.children.length; else mWizardContentLength = data.children[0].children.length; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits