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:
parent
0644e2897d
commit
66204401c9
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user