cleanup: remove local variable

This commit is contained in:
Andreas Preikschat 2014-03-31 14:13:50 +02:00
parent b4bf94a4f0
commit 93ff301840
1 changed files with 1 additions and 2 deletions

View File

@ -181,5 +181,4 @@ class SearchEdit(QtGui.QLineEdit):
for action in self.menu_button.menu().actions():
# Why is this needed?
action.setChecked(False)
sender = self.sender()
self.set_current_search_type(sender.data())
self.set_current_search_type(self.sender().data())