Fix missing ()

This commit is contained in:
Tim Bentley 2013-09-07 08:52:52 +01:00
parent a9ae11165c
commit ee6490dc23
1 changed files with 1 additions and 1 deletions

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