forked from openlp/openlp
Fix error if cnp
This commit is contained in:
parent
0841802ddc
commit
b6d0f2243d
@ -652,7 +652,7 @@ class ServiceManager(QtGui.QWidget):
|
|||||||
self.loadFile(fileName)
|
self.loadFile(fileName)
|
||||||
|
|
||||||
def contextMenu(self, point):
|
def contextMenu(self, point):
|
||||||
item = self.serviceManagerList.currentItem()
|
item = self.serviceManagerList.itemAt(point)
|
||||||
if item is None:
|
if item is None:
|
||||||
return
|
return
|
||||||
if item.parent() is None:
|
if item.parent() is None:
|
||||||
|
Loading…
Reference in New Issue
Block a user