wizards/source/sfwidgets/SF_PopupMenu.xba | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 4d52e5a013d4315c14b741bb09b40d01b8846df7 Author: Jean-Pierre Ledure <j...@ledure.be> AuthorDate: Wed Nov 3 11:32:13 2021 +0100 Commit: Jean-Pierre Ledure <j...@ledure.be> CommitDate: Thu Nov 4 12:35:54 2021 +0100 ScriptForge - (SF_PopupMenu) Fix com.sun.star.awt.MenuItemStyle.AUTOCHECK To have checkboxes displayed correctly in KDE, it is necessary to use com.sun.star.awt.MenuItemStyle.CHECKABLE instead. No regression in behaviour observed so far in other environments. Change-Id: If15b2ff597f1cdffe2df65fe2352ffef0f770cb4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124639 Tested-by: Jean-Pierre Ledure <j...@ledure.be> Tested-by: Jenkins Reviewed-by: Jean-Pierre Ledure <j...@ledure.be> diff --git a/wizards/source/sfwidgets/SF_PopupMenu.xba b/wizards/source/sfwidgets/SF_PopupMenu.xba index 3ddda64306bd..8f231983551a 100644 --- a/wizards/source/sfwidgets/SF_PopupMenu.xba +++ b/wizards/source/sfwidgets/SF_PopupMenu.xba @@ -534,7 +534,7 @@ Try: Case cstNormal .insertItem(LastItem, sName, 0, -1) Case cstCheck - .insertItem(LastItem, sName, com.sun.star.awt.MenuItemStyle.AUTOCHECK, -1) + .insertItem(LastItem, sName, com.sun.star.awt.MenuItemStyle.CHECKABLE, -1) .checkItem(LastItem, Status) Case cstRadio .insertItem(LastItem, sName, com.sun.star.awt.MenuItemStyle.RADIOCHECK, -1) @@ -752,4 +752,4 @@ Finally: End Function ' SFWidgets.SF_PopupMenu._SplitMenuItem REM ============================================ END OF SFWIDGETS.SF_POPUPMENU -</script:module> +</script:module> \ No newline at end of file