This commit is contained in:
Kovid Goyal 2017-06-27 08:55:34 +05:30
parent 734c5df43b
commit 5b2603b98d
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -72,7 +72,7 @@ def create_match_kind(self):
def create_button_box(self):
self.bb = bb = QDialogButtonBox(QDialogButtonBox.Ok | QDialogButtonBox.Cancel)
self.clear_button = bb.addButton(_('Clear'), QDialogButtonBox.ResetRole)
self.clear_button = bb.addButton(_('&Clear'), QDialogButtonBox.ResetRole)
self.clear_button.clicked.connect(self.clear_button_pushed)
bb.accepted.connect(self.accept)
bb.rejected.connect(self.reject)