Signal dataChanged when appropriate. Fixes crash.