forked from openlp/openlp
Add tooltip
This commit is contained in:
parent
b2b8dd1d4d
commit
1a611dcd60
@ -181,10 +181,14 @@ class SongUsagePlugin(Plugin):
|
|||||||
self.songUsageActiveButton.setIcon(self.activeIcon)
|
self.songUsageActiveButton.setIcon(self.activeIcon)
|
||||||
self.songUsageStatus.setChecked(True)
|
self.songUsageStatus.setChecked(True)
|
||||||
self.songUsageActiveButton.setChecked(True)
|
self.songUsageActiveButton.setChecked(True)
|
||||||
|
self.songUsageActiveButton.setToolTip(translate('SongUsagePlugin',
|
||||||
|
'Song usage is active.'))
|
||||||
else:
|
else:
|
||||||
self.songUsageActiveButton.setIcon(self.inactiveIcon)
|
self.songUsageActiveButton.setIcon(self.inactiveIcon)
|
||||||
self.songUsageStatus.setChecked(False)
|
self.songUsageStatus.setChecked(False)
|
||||||
self.songUsageActiveButton.setChecked(False)
|
self.songUsageActiveButton.setChecked(False)
|
||||||
|
self.songUsageActiveButton.setToolTip(translate('SongUsagePlugin',
|
||||||
|
'Song usage is inactive.'))
|
||||||
self.songUsageActiveButton.blockSignals(False)
|
self.songUsageActiveButton.blockSignals(False)
|
||||||
self.songUsageStatus.blockSignals(False)
|
self.songUsageStatus.blockSignals(False)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user