Skip to content

Commit

Permalink
Refactor disable_dropdown_options_by_text function in main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
royshil committed Apr 29, 2024
1 parent 98c2096 commit c1db5e3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@
NOT_IMPLEMENTED = "Not implemented yet"


def disable_dropdown_options_by_text(
combo_box, text, negative_case=False
):
def disable_dropdown_options_by_text(combo_box, text, negative_case=False):
for i in range(combo_box.count()):
disable = False
if (isinstance(text, list) and combo_box.itemText(i) in text) or (
Expand Down

0 comments on commit c1db5e3

Please sign in to comment.