Commit 060770ee authored by paulusmax's avatar paulusmax

Changed the GTK WARN message back to an ERROR message as this does not bring...

Changed the GTK WARN message back to an ERROR message as this does not bring up a window and stop the process for loading certain .stl files.

git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@983 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 844a0923
...@@ -1055,7 +1055,7 @@ class ProjectGui: ...@@ -1055,7 +1055,7 @@ class ProjectGui:
self.no_dialog = no_dialog self.no_dialog = no_dialog
if not self.no_dialog: if not self.no_dialog:
# register a logging handler for displaying error messages # register a logging handler for displaying error messages
pycam.Utils.log.add_gtk_gui(self.window, logging.WARN) pycam.Utils.log.add_gtk_gui(self.window, logging.ERROR)
# register a callback for the log window # register a callback for the log window
pycam.Utils.log.add_hook(self.add_log_message) pycam.Utils.log.add_hook(self.add_log_message)
self.window.show() self.window.show()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment