mirror of
https://github.com/ciromattia/kcc
synced 2026-10-20 16:32:31 +00:00
Alpha version of QT GUI #2
This commit is contained in:
+4
-1
@@ -180,7 +180,10 @@ class Ui_KCC(object):
|
||||
except Exception as err:
|
||||
errors = True
|
||||
type_, value_, traceback_ = sys.exc_info()
|
||||
tkMessageBox.showerror('KCC Error', "Error on file %s:\n%s\nTraceback:\n%s" % (jobargv[-1], str(err), traceback.format_tb(traceback_)))
|
||||
QtGui.QMessageBox.critical(MainWindow, 'KCC Error',
|
||||
"Error on file %s:\n%s\nTraceback:\n%s"
|
||||
% (jobargv[-1], str(err),traceback.format_tb(traceback_)),
|
||||
QtGui.QMessageBox.Ok)
|
||||
self.addMessage('KCC failed to create EPUB!', self.errorIcon)
|
||||
continue
|
||||
MainWindow.repaint()
|
||||
|
||||
Reference in New Issue
Block a user