diff --git a/companion/src/eeprominterface.cpp b/companion/src/eeprominterface.cpp index 3b1f5bfa0e..2a5b8dc5e5 100644 --- a/companion/src/eeprominterface.cpp +++ b/companion/src/eeprominterface.cpp @@ -787,11 +787,15 @@ QString LogicalSwitchData::toString(const ModelData & model, const GeneralSettin res = "|" + res + "|"; else if (func == LS_FN_DAPOS) res = "|d(" + res + ")|"; - else if (func == LS_FN_DPOS) result = "d(" + res + ")"; + else if (func == LS_FN_DPOS) + res = "d(" + res + ")"; result += res; - if (func == LS_FN_APOS || func == LS_FN_VPOS || func == LS_FN_DPOS || func == LS_FN_DAPOS) result += " > "; + else if (func == LS_FN_EQUAL || func == LS_FN_VEQUAL) + result += " = "; + else if (func == LS_FN_NEQUAL) + result += " != "; else if (func == LS_FN_ANEG || func == LS_FN_VNEG) result += " < "; else if (func == LS_FN_VALMOSTEQUAL)