small fix for error checking in gresource editor