Skip to content

Commit d77d486

Browse files
elecpowerphilmoz
authored andcommitted
Fix flex switch refresh
1 parent b3c7dfc commit d77d486

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

companion/src/generaledit/hardware.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ void HardwarePanel::addSwitch(int index)
594594
type->setField(config.type, this);
595595
params->append(type);
596596

597-
if (!generalSettings.isSwitchFlex(index) && !generalSettings.isSwitchFunc(index)) {
597+
if (!generalSettings.isSwitchFunc(index)) {
598598
connect(type, &AutoComboBox::currentDataChanged, [=] (int val) {
599599
emit refreshItemModels();
600600
});

0 commit comments

Comments
 (0)