What happens if the target_row doesn't find an object? we should have an error message here so it's easy to diagnose the target_row is not found, and not the remove_button is not found.
43 + try: 44 + o.select_single( 45 + 'QQuickText', 46 + objectName='companyNameText', 47 + text="Google Inc." 48 + ) 49 + target_row = o 50 + break 51 + except StateNotFoundError: 52 + pass 53 + 54 + remove_button = target_row.select_single(
« Back to merge proposal
What happens if the target_row doesn't find an object? we should have an error message here so it's easy to diagnose the target_row is not found, and not the remove_button is not found.
43 + try: 'companyNameTex t', row.select_ single(
44 + o.select_single(
45 + 'QQuickText',
46 + objectName=
47 + text="Google Inc."
48 + )
49 + target_row = o
50 + break
51 + except StateNotFoundError:
52 + pass
53 +
54 + remove_button = target_