From a0769ce544a5b3a0a5e82b1b5d455ab6c1bcbc00 Mon Sep 17 00:00:00 2001 From: rimach Date: Tue, 20 Mar 2012 22:25:53 +0100 Subject: [PATCH] insert missing spaces --- openlp/plugins/media/lib/mediatab.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openlp/plugins/media/lib/mediatab.py b/openlp/plugins/media/lib/mediatab.py index a57b301f3..4b0fb1ba7 100644 --- a/openlp/plugins/media/lib/mediatab.py +++ b/openlp/plugins/media/lib/mediatab.py @@ -160,7 +160,7 @@ class MediaTab(SettingsTab): item = self.playerOrderlistWidget.takeItem(row) self.playerOrderlistWidget.insertItem(row - 1, item) self.playerOrderlistWidget.setCurrentRow(row - 1) - self.usedPlayers.insert(row-1, self.usedPlayers.pop(row)) + self.usedPlayers.insert(row - 1, self.usedPlayers.pop(row)) def onDownButtonClicked(self): row = self.playerOrderlistWidget.currentRow() @@ -169,7 +169,7 @@ class MediaTab(SettingsTab): item = self.playerOrderlistWidget.takeItem(row) self.playerOrderlistWidget.insertItem(row + 1, item) self.playerOrderlistWidget.setCurrentRow(row + 1) - self.usedPlayers.insert(row+1, self.usedPlayers.pop(row)) + self.usedPlayers.insert(row + 1, self.usedPlayers.pop(row)) def load(self): if self.savedUsedPlayers: