diff --git a/pcbnew/dialogs/dialog_net_inspector.cpp b/pcbnew/dialogs/dialog_net_inspector.cpp index 68fcd59c0e..46c0de7220 100644 --- a/pcbnew/dialogs/dialog_net_inspector.cpp +++ b/pcbnew/dialogs/dialog_net_inspector.cpp @@ -203,7 +203,7 @@ public: bool TotalLengthChanged() const { - return BoardWireLengthChanged() | ViaLengthChanged() | ChipWireLengthChanged(); + return BoardWireLengthChanged() || ViaLengthChanged() || ChipWireLengthChanged(); } LIST_ITEM* Parent() const