TASInputDlg: Narrow a variable scope in UpdateFromText