From 5677cf6a40ed62043674d60088054b7f255a0980 Mon Sep 17 00:00:00 2001 From: John Morris Date: Tue, 29 Oct 2019 16:13:18 +0000 Subject: [PATCH] Changed plugin search clear ICON --- openlp/core/ui/icons.py | 1 + openlp/core/widgets/edits.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/openlp/core/ui/icons.py b/openlp/core/ui/icons.py index bd84dab8f..6f8b3e4bd 100644 --- a/openlp/core/ui/icons.py +++ b/openlp/core/ui/icons.py @@ -62,6 +62,7 @@ class UiIcons(metaclass=Singleton): 'authentication': {'icon': 'fa.exclamation-triangle', 'attr': 'red'}, 'address': {'icon': 'fa.book'}, 'back': {'icon': 'fa.step-backward'}, + 'backspace': {'icon': 'mdi.backspace-outline'}, 'bible': {'icon': 'fa.book'}, 'blank': {'icon': 'fa.times-circle'}, 'blank_theme': {'icon': 'fa.file-image-o'}, diff --git a/openlp/core/widgets/edits.py b/openlp/core/widgets/edits.py index 2efae2e1d..022ab6d53 100644 --- a/openlp/core/widgets/edits.py +++ b/openlp/core/widgets/edits.py @@ -64,7 +64,7 @@ class SearchEdit(QtWidgets.QLineEdit): self.settings_section = settings_section self._current_search_type = -1 self.clear_button = QtWidgets.QToolButton(self) - self.clear_button.setIcon(UiIcons().shortcuts) + self.clear_button.setIcon(UiIcons().backspace) self.clear_button.setCursor(QtCore.Qt.ArrowCursor) self.clear_button.setStyleSheet('QToolButton { border: none; padding: 0px; }') self.clear_button.resize(18, 18)