diff --git a/conductorproperties.cpp b/conductorproperties.cpp index 7df16bb89..088d41b7b 100644 --- a/conductorproperties.cpp +++ b/conductorproperties.cpp @@ -219,7 +219,11 @@ int ConductorProperties::operator==(const ConductorProperties &other) { } int ConductorProperties::operator!=(const ConductorProperties &other) { - return(!(other == (*this))); + return( + other.type != type ||\ + other.text != text ||\ + other.singleLineProperties != singleLineProperties + ); } int SingleLineProperties::operator==(const SingleLineProperties &other) const {