Skip to content

Commit

Permalink
domaineditor: Fix combobox hack
Browse files Browse the repository at this point in the history
Before it would set the wrong chice sometimes,
as the combobox would move under your cursor and be set again
  • Loading branch information
irgolic committed Aug 5, 2021
1 parent f3e6149 commit a51bdea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Orange/widgets/utils/domaineditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def hidePopup(me):
if me.popup_shown:
self.view.model().setData(
index, me.highlighted_text, Qt.EditRole)
self.popup_shown = False
me.popup_shown = False
super().hidePopup()
self.view.closeEditor(me, self.NoHint)

Expand Down

0 comments on commit a51bdea

Please sign in to comment.