forked from openlp/openlp
Fix check_item_selection
This commit is contained in:
parent
4ac7ce16c0
commit
b402cc5639
@ -170,7 +170,7 @@ def check_item_selected(list_widget, message):
|
|||||||
The message to give the user if no item is selected
|
The message to give the user if no item is selected
|
||||||
"""
|
"""
|
||||||
if not list_widget.selectedIndexes():
|
if not list_widget.selectedIndexes():
|
||||||
QtGui.QMessageBox.information(self,
|
QtGui.QMessageBox.information(list_widget.parent(),
|
||||||
translate('MediaManagerItem', 'No Items Selected'), message)
|
translate('MediaManagerItem', 'No Items Selected'), message)
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
Loading…
Reference in New Issue
Block a user