This reverts commit a618d75e5b. This shouldn't actually fix anything, because the setText() call would only happen if isRich were set to begin with.
a618d75e5b