forked from openlp/openlp
When importing a presentation containing a non-ASCII character, an exception is no longer thrown preventing the file from being loaded.
bzr-revno: 2126 Fixes: https://launchpad.net/bugs/1093184
This commit is contained in:
commit
36fb2ddc42
@ -341,6 +341,7 @@ class MediaManagerItem(QtGui.QWidget):
|
|||||||
self, self.onNewPrompt,
|
self, self.onNewPrompt,
|
||||||
SettingsManager.get_last_dir(self.settingsSection),
|
SettingsManager.get_last_dir(self.settingsSection),
|
||||||
self.onNewFileMasks)
|
self.onNewFileMasks)
|
||||||
|
files = map(unicode, files)
|
||||||
log.info(u'New files(s) %s', unicode(files))
|
log.info(u'New files(s) %s', unicode(files))
|
||||||
if files:
|
if files:
|
||||||
Receiver.send_message(u'cursor_busy')
|
Receiver.send_message(u'cursor_busy')
|
||||||
|
Loading…
Reference in New Issue
Block a user