Fixes an issue with undefined QElement types crashing app
Merge pull request #445 from jessbowers/fixes-missing-element-crash

Fixes an issue with undefined QElement types crashing app