← Back to team overview

openlp-core team mailing list archive

[Merge] lp:~googol-hush/openlp/suggestion into lp:~trb143/openlp/192only

 

googol has proposed merging lp:~googol-hush/openlp/suggestion into lp:~trb143/openlp/192only.

Requested reviews:
  OpenLP Core (openlp-core)

-- 
https://code.launchpad.net/~googol-hush/openlp/suggestion/+merge/28530
Your team OpenLP Core is requested to review the proposed merge of lp:~googol-hush/openlp/suggestion into lp:~trb143/openlp/192only.
=== modified file 'openlp/core/ui/serviceitemeditform.py'
--- openlp/core/ui/serviceitemeditform.py	2010-06-25 16:50:35 +0000
+++ openlp/core/ui/serviceitemeditform.py	2010-06-25 18:24:30 +0000
@@ -74,8 +74,12 @@
             item_name = QtGui.QListWidgetItem(frame[u'title'])
             self.listWidget.addItem(item_name)
         if self.listWidget.count() == 1:
+            self.downButton.setEnabled(False)
+            self.upButton.setEnabled(False)
             self.deleteButton.setEnabled(False)
         else:
+            self.downButton.setEnabled(True)
+            self.upButton.setEnabled(True)
             self.deleteButton.setEnabled(True)
 
     def onItemDelete(self):