> Is there a reason why we do this?
> 
> 21 sender = self.sender()
> 22 self.set_current_search_type(sender.data())
> 
> Can we not just do:
> 
>     self.set_current_search_type(self.sender().data())

When I first changed this, this crashed for an unknown reasons. Now it 
works.... :D strange

pep8 fixed
-- 
https://code.launchpad.net/~googol/openlp/mainwindow-spelling/+merge/212317
Your team OpenLP Core is subscribed to branch lp:openlp.

_______________________________________________
Mailing list: https://launchpad.net/~openlp-core
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to