It depends on how those edges were colored. It may be that you just need to edit the edge color to By Material (remember to update the style after editing) or maybe there’s more to it than just that. It would be easier to guide you if we could see the model file.