Skip to content

Do not crash on assert

I don't know if this is the right thing to do, but since it actually crashed for me more than 10 times in a row (even when I cleaned the preferences, the duchain, etc) it seem logical that this could actually return an index from a different model, so instead of asserting, return a invalid index.

Merge request reports