issue #5364: Change setText to setString