Fix service up movement

Fixes: https://launchpad.net/bugs/1338316
This commit is contained in:
Samuel Mehrbrodt 2014-07-07 13:17:24 +02:00
parent 8e8288ddaa
commit b92ca3f209
1 changed files with 1 additions and 1 deletions

View File

@ -1103,7 +1103,7 @@ class ServiceManager(OpenLPMixin, RegistryMixin, QtGui.QWidget, Ui_ServiceManage
Moves the cursor selection up the window. Called by the up arrow. Moves the cursor selection up the window. Called by the up arrow.
""" """
item = self.service_manager_list.currentItem() item = self.service_manager_list.currentItem()
item_before = self.service_manager_list.item_above(item) item_before = self.service_manager_list.itemAbove(item)
if item_before is None: if item_before is None:
return return
self.service_manager_list.setCurrentItem(item_before) self.service_manager_list.setCurrentItem(item_before)