From a51bdeaad56c703fede143e72b21afe0a8e1e880 Mon Sep 17 00:00:00 2001 From: Rafael Irgolic Date: Thu, 5 Aug 2021 00:35:41 +0100 Subject: [PATCH] domaineditor: Fix combobox hack Before it would set the wrong chice sometimes, as the combobox would move under your cursor and be set again --- Orange/widgets/utils/domaineditor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Orange/widgets/utils/domaineditor.py b/Orange/widgets/utils/domaineditor.py index d9f9b016540..d5688125ff9 100644 --- a/Orange/widgets/utils/domaineditor.py +++ b/Orange/widgets/utils/domaineditor.py @@ -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)