forked from openlp/openlp
fixes
This commit is contained in:
parent
e6d6541ca2
commit
460964c371
@ -193,7 +193,13 @@ def main():
|
||||
qInitResources()
|
||||
# Now create and actually run the application.
|
||||
app = OpenLP(qt_args)
|
||||
sys.exit(app.run())
|
||||
try:
|
||||
a = app.run()
|
||||
print a
|
||||
except:
|
||||
log.exception(u'it went bang')
|
||||
|
||||
sys.exit(a)
|
||||
|
||||
if __name__ == u'__main__':
|
||||
"""
|
||||
|
@ -425,7 +425,7 @@ class MediaManagerItem(QtGui.QWidget):
|
||||
else:
|
||||
#Is it posssible to process multiple list items to generate multiple
|
||||
#service items?
|
||||
if self.singleServiceItem:
|
||||
if self.singleServiceItem or self.remoteTriggered:
|
||||
log.debug(self.PluginNameShort + u' Add requested')
|
||||
service_item = self.buildServiceItem()
|
||||
if service_item:
|
||||
|
@ -244,7 +244,8 @@ class Renderer(object):
|
||||
bbox1 = self._render_lines_unaligned(footer_lines, True)
|
||||
# reset the frame. first time do not worry about what you paint on.
|
||||
self._frame = QtGui.QImage(self.bg_frame)
|
||||
self._frameOp = QtGui.QImage(self.bg_frame)
|
||||
if self._theme.display_slideTransition:
|
||||
self._frameOp = QtGui.QImage(self.bg_frame)
|
||||
x, y = self._correctAlignment(self._rect, bbox)
|
||||
bbox = self._render_lines_unaligned(lines, False, (x, y), True)
|
||||
if footer_lines:
|
||||
|
@ -653,6 +653,7 @@ class ServiceManager(QtGui.QWidget):
|
||||
"""
|
||||
sitem, count = self.findServiceItem()
|
||||
item.render()
|
||||
print self.remoteEditTriggered
|
||||
if self.remoteEditTriggered:
|
||||
item.merge(self.serviceItems[sitem][u'service_item'])
|
||||
self.serviceItems[sitem][u'service_item'] = item
|
||||
|
Loading…
Reference in New Issue
Block a user