Fix remotes

bzr-revno: 2292
This commit is contained in:
Tim Bentley 2013-09-07 13:32:27 +01:00
commit 541f013a5c

View File

@ -1004,7 +1004,7 @@ class ServiceManager(QtGui.QWidget, ServiceManagerDialog):
"""
Makes a specific item in the service live.
"""
if index >= 0 and index < self.service_manager_list.topLevelItemCount:
if index >= 0 and index < self.service_manager_list.topLevelItemCount():
item = self.service_manager_list.topLevelItem(index)
self.service_manager_list.setCurrentItem(item)
self.make_live()