additional update for TreeAndGridDialog

恢复错误的修改