forked from openlp/openlp
insert missing spaces
This commit is contained in:
parent
8a029daf11
commit
a0769ce544
@ -160,7 +160,7 @@ class MediaTab(SettingsTab):
|
|||||||
item = self.playerOrderlistWidget.takeItem(row)
|
item = self.playerOrderlistWidget.takeItem(row)
|
||||||
self.playerOrderlistWidget.insertItem(row - 1, item)
|
self.playerOrderlistWidget.insertItem(row - 1, item)
|
||||||
self.playerOrderlistWidget.setCurrentRow(row - 1)
|
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):
|
def onDownButtonClicked(self):
|
||||||
row = self.playerOrderlistWidget.currentRow()
|
row = self.playerOrderlistWidget.currentRow()
|
||||||
@ -169,7 +169,7 @@ class MediaTab(SettingsTab):
|
|||||||
item = self.playerOrderlistWidget.takeItem(row)
|
item = self.playerOrderlistWidget.takeItem(row)
|
||||||
self.playerOrderlistWidget.insertItem(row + 1, item)
|
self.playerOrderlistWidget.insertItem(row + 1, item)
|
||||||
self.playerOrderlistWidget.setCurrentRow(row + 1)
|
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):
|
def load(self):
|
||||||
if self.savedUsedPlayers:
|
if self.savedUsedPlayers:
|
||||||
|
Loading…
Reference in New Issue
Block a user