Commit a838c2d8 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Don't erase the log window when autosaving

parent 5aef36a7
......@@ -1567,7 +1567,8 @@ class SDL_View(QtGui.QGraphicsView, object):
return False
# check syntax and raise a big warning before saving
if not autosave:
if not autosave and not scene.global_syntax_check():
LOG.error('Syntax errors must be fixed NOW '
'or you may not be able to reload the model')
Supports Markdown
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