From b040d53fbd99734a11cc0d4126bd7568cf6bbbbe Mon Sep 17 00:00:00 2001 From: zhiyiYo <1319158137@qq.com> Date: Sun, 14 May 2023 21:21:14 +0800 Subject: [PATCH] fixes #202 --- .github/ISSUE_TEMPLATE/bug_report.md | 4 +++- qfluentwidgets/components/widgets/combo_box.py | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index a8fdef3..3e6ae0fa 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -7,7 +7,9 @@ assignees: '' --- - + **Describe the bug** A clear and concise description of what the bug is. diff --git a/qfluentwidgets/components/widgets/combo_box.py b/qfluentwidgets/components/widgets/combo_box.py index bf50b3b..1e9a520 100644 --- a/qfluentwidgets/components/widgets/combo_box.py +++ b/qfluentwidgets/components/widgets/combo_box.py @@ -373,6 +373,9 @@ class EditableComboBox(LineEdit, ComboBoxBase): def currentText(self): return self.text() + def clear(self): + ComboBoxBase.clear(self) + def _onReturnPressed(self): if not self.text(): return -- GitLab