From 66204401c9b16b12853413a51fcf2ff658a09280 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Sun, 11 Oct 2020 22:22:04 +0100 Subject: [PATCH] Desktop: Fixes #3899: Regression - Layout Button Sequence menu items were disabled --- ElectronClient/gui/MenuBar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElectronClient/gui/MenuBar.tsx b/ElectronClient/gui/MenuBar.tsx index 85d56610d..4ed5bc0b3 100644 --- a/ElectronClient/gui/MenuBar.tsx +++ b/ElectronClient/gui/MenuBar.tsx @@ -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) {