From b402cc563992183fa3646e7390cbc12a219d61bf Mon Sep 17 00:00:00 2001 From: Jon Tibble Date: Thu, 24 Jun 2010 20:04:18 +0100 Subject: [PATCH] Fix check_item_selection --- openlp/core/lib/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlp/core/lib/__init__.py b/openlp/core/lib/__init__.py index 6b1a2e67a..5408c611d 100644 --- a/openlp/core/lib/__init__.py +++ b/openlp/core/lib/__init__.py @@ -170,7 +170,7 @@ def check_item_selected(list_widget, message): The message to give the user if no item is selected """ if not list_widget.selectedIndexes(): - QtGui.QMessageBox.information(self, + QtGui.QMessageBox.information(list_widget.parent(), translate('MediaManagerItem', 'No Items Selected'), message) return False return True