QScintilla/Exporters/ExporterTEX.py

changeset 564
b3d966393ba9
parent 537
72b32daeb8d6
child 791
9ec2ac20e54e
equal deleted inserted replaced
563:e35d2cda9a74 564:b3d966393ba9
255 f.close() 255 f.close()
256 except IOError as err: 256 except IOError as err:
257 QApplication.restoreOverrideCursor() 257 QApplication.restoreOverrideCursor()
258 E5MessageBox.critical(self.editor, 258 E5MessageBox.critical(self.editor,
259 self.trUtf8("Export source"), 259 self.trUtf8("Export source"),
260 self.trUtf8(\ 260 self.trUtf8(
261 """<p>The source could not be exported to <b>{0}</b>.</p>""" 261 """<p>The source could not be exported to <b>{0}</b>.</p>"""
262 """<p>Reason: {1}</p>""")\ 262 """<p>Reason: {1}</p>""")\
263 .format(filename, str(err))) 263 .format(filename, str(err)))
264 finally: 264 finally:
265 QApplication.restoreOverrideCursor() 265 QApplication.restoreOverrideCursor()

eric ide

mercurial