1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-29 19:13:59 +02:00

Desktop: Fixes #3899: Regression - Layout Button Sequence menu items were disabled

This commit is contained in:
Laurent Cozic 2020-10-11 22:22:04 +01:00
parent 0644e2897d
commit 66204401c9

View File

@ -735,7 +735,7 @@ function useMenu(props:Props) {
const layoutButtonSequenceOptions = Setting.enumOptions('layoutButtonSequence');
for (const value in layoutButtonSequenceOptions) {
menuItemSetEnabled(`layoutButtonSequence_${value}`, props.layoutButtonSequence === Number(value));
menuItemSetChecked(`layoutButtonSequence_${value}`, props.layoutButtonSequence === Number(value));
}
function applySortItemCheckState(type:string) {