Fix #1696954 [Find previous match buttom has wrong icon](https://bugs.launchpad.net/calibre/+bug/1696954)

This commit is contained in:
Kovid Goyal 2017-06-09 17:06:22 +05:30
parent 9a5cea5669
commit ddab814e35
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 0 additions and 12 deletions

View File

@ -33,17 +33,6 @@
</property> </property>
</widget> </widget>
</item> </item>
<item>
<widget class="QToolButton" name="clear_button">
<property name="toolTip">
<string>Find previous match</string>
</property>
<property name="icon">
<iconset resource="../../../../resources/images.qrc">
<normaloff>:/images/clear_left.png</normaloff>:/images/clear_left.png</iconset>
</property>
</widget>
</item>
</layout> </layout>
</item> </item>
<item row="1" column="0" colspan="2"> <item row="1" column="0" colspan="2">

View File

@ -591,7 +591,6 @@ class JobsDialog(QDialog, Ui_JobsDialog):
self.search.search.connect(self.find) self.search.search.connect(self.find)
self.search_button.clicked.connect(lambda : self.search_button.clicked.connect(lambda :
self.find(self.search.current_text)) self.find(self.search.current_text))
self.clear_button.clicked.connect(lambda : self.search.clear())
self.restore_state() self.restore_state()
def restore_state(self): def restore_state(self):