This commit is contained in:
Andreas Preikschat 2013-09-08 12:30:49 +02:00
commit 3ab4eb36d0

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()