- Added param: to Lock toggle button

This commit is contained in:
Olli Suutari 2016-09-15 10:41:54 +03:00
parent a034532d19
commit 191845b70c

View File

@ -565,6 +565,8 @@ class BibleMediaItem(MediaManagerItem):
""" """
Toggle the lock button, if Search tab is used, set focus to search field, if Select tab is used, Toggle the lock button, if Search tab is used, set focus to search field, if Select tab is used,
give focus to Bible book name field. give focus to Bible book name field.
:param checked: The state of the toggle button. bool
:return: None
""" """
if checked: if checked:
self.sender().setIcon(self.lock_icon) self.sender().setIcon(self.lock_icon)