Jon Tibble has proposed merging lp:~meths/openlp/trivialfixes into lp:openlp.

Requested reviews:
  OpenLP Core (openlp-core)


Fix check_item_selection
-- 
https://code.launchpad.net/~meths/openlp/trivialfixes/+merge/28446
Your team OpenLP Core is requested to review the proposed merge of 
lp:~meths/openlp/trivialfixes into lp:openlp.
=== modified file 'openlp/core/lib/__init__.py'
--- openlp/core/lib/__init__.py	2010-06-24 15:50:40 +0000
+++ openlp/core/lib/__init__.py	2010-06-24 19:11:28 +0000
@@ -170,7 +170,7 @@
         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

_______________________________________________
Mailing list: https://launchpad.net/~openlp-core
Post to     : openlp-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to