Fixed strange issue with submodules in DTRichTextEditor

Signed-off-by: Eric Böhnisch-Volkmann <eboehnisch@devontechnologies.com>