enigma-dev / RadialGM

A native IDE for ENIGMA written in C++ using the Qt Framework.
GNU General Public License v3.0
46 stars 22 forks source link

Fix Has Repeated Field Assertion #174

Closed RobertBColton closed 4 years ago

RobertBColton commented 4 years ago

Apparently it's an assertion in protobuf to call HasField on a repeated field. This isn't actually reproducible anywhere yet, I just ran onto it in #173 when putting the layers into a list view because they have a repeated field column that I will probably end up hiding. Maybe later we can actually handle repeated fields correctly, but for now it's definitely not correct to check HasField since it crashes.