texthandle: check there is a widget to set state on

The handle widgets might be uninitialized, just skip those if they aren't
there yet.
1 file changed