forked from openlp/openlp
Fix Cancel bug on BibleImport screen
Fix odi error on PresentationDialog bzr-revno: 454
This commit is contained in:
parent
3561ede5b0
commit
05027b114c
@ -28,7 +28,7 @@ class EventReceiver(QtCore.QObject):
|
||||
QtCore.QObject.__init__(self)
|
||||
|
||||
def send_message(self, event, msg=None):
|
||||
self.emit(SIGNAL(event), msg)
|
||||
self.emit(QtCore.SIGNAL(event), msg)
|
||||
|
||||
def received(self, msg=None):
|
||||
print msg
|
||||
|
@ -119,7 +119,7 @@ class PresentationMediaItem(MediaManagerItem):
|
||||
def onPresentationNewClick(self):
|
||||
files = QtGui.QFileDialog.getOpenFileNames(None,
|
||||
translate('PresentationsMediaItem', u'Select presentations(s)'),
|
||||
self.parent.config.get_last_dir(), u'Presentations (*.ppt *.pps *.odi)')
|
||||
self.parent.config.get_last_dir(), u'Presentations (*.ppt *.pps *.odp)')
|
||||
if len(files) > 0:
|
||||
self.loadPresentationList(files)
|
||||
dir, filename = os.path.split(str(files[0]))
|
||||
|
Loading…
Reference in New Issue
Block a user