forked from openlp/openlp
Fix Bug #595672
This commit is contained in:
parent
d143b197a3
commit
0d35135945
@ -96,6 +96,7 @@ class ServiceItemEditForm(QtGui.QDialog, Ui_ServiceItemEditDialog):
|
|||||||
self.itemList.remove(self.itemList[row])
|
self.itemList.remove(self.itemList[row])
|
||||||
self.itemList.insert(row - 1, temp)
|
self.itemList.insert(row - 1, temp)
|
||||||
self.loadData()
|
self.loadData()
|
||||||
|
self.listWidget.setCurrentRow(row - 1)
|
||||||
|
|
||||||
def onItemDown(self):
|
def onItemDown(self):
|
||||||
"""
|
"""
|
||||||
@ -109,3 +110,4 @@ class ServiceItemEditForm(QtGui.QDialog, Ui_ServiceItemEditDialog):
|
|||||||
self.itemList.remove(self.itemList[row])
|
self.itemList.remove(self.itemList[row])
|
||||||
self.itemList.insert(row + 1, temp)
|
self.itemList.insert(row + 1, temp)
|
||||||
self.loadData()
|
self.loadData()
|
||||||
|
self.listWidget.setCurrentRow(row + 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user