forked from openlp/openlp
None tests
This commit is contained in:
parent
2185f4e842
commit
80d54dc1be
@ -694,7 +694,7 @@ class ServiceManager(QtGui.QWidget):
|
|||||||
if plugin == u'ServiceManager':
|
if plugin == u'ServiceManager':
|
||||||
startpos, startCount = self.findServiceItem()
|
startpos, startCount = self.findServiceItem()
|
||||||
item = self.ServiceManagerList.itemAt(event.pos())
|
item = self.ServiceManagerList.itemAt(event.pos())
|
||||||
if item == None:
|
if item is None:
|
||||||
endpos = len(self.serviceItems)
|
endpos = len(self.serviceItems)
|
||||||
else:
|
else:
|
||||||
parentitem = item.parent()
|
parentitem = item.parent()
|
||||||
|
@ -150,7 +150,7 @@ class PowerpointController(PresentationController):
|
|||||||
Triggerent by new object being added to SlideController orOpenLP
|
Triggerent by new object being added to SlideController orOpenLP
|
||||||
being shut down
|
being shut down
|
||||||
"""
|
"""
|
||||||
if self.presentation == None:
|
if self.presentation is None:
|
||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
self.presentation.Close()
|
self.presentation.Close()
|
||||||
@ -165,9 +165,9 @@ class PowerpointController(PresentationController):
|
|||||||
if not self.is_loaded():
|
if not self.is_loaded():
|
||||||
return False
|
return False
|
||||||
try:
|
try:
|
||||||
if self.presentation.SlideShowWindow == None:
|
if self.presentation.SlideShowWindow is None:
|
||||||
return False
|
return False
|
||||||
if self.presentation.SlideShowWindow.View == None:
|
if self.presentation.SlideShowWindow.View is None:
|
||||||
return False
|
return False
|
||||||
except:
|
except:
|
||||||
return False
|
return False
|
||||||
|
Loading…
Reference in New Issue
Block a user