Fix error if cnp

This commit is contained in:
Tim Bentley 2011-06-04 19:14:32 +01:00
parent 0841802ddc
commit b6d0f2243d

View File

@ -652,7 +652,7 @@ class ServiceManager(QtGui.QWidget):
self.loadFile(fileName)
def contextMenu(self, point):
item = self.serviceManagerList.currentItem()
item = self.serviceManagerList.itemAt(point)
if item is None:
return
if item.parent() is None: