- made the Rules Check Tool document window Read Only

This commit is contained in:
Marius Stanciu
2019-10-06 04:46:25 +03:00
committed by Marius
parent fa7511e129
commit ce9c15a2ed
3 changed files with 16 additions and 1 deletions

View File

@@ -1415,6 +1415,7 @@ class RulesCheck(FlatCAMTool):
txt += '%s\n' % _("Violations: There are no violations for the current rule.")
txt += '\n\n'
new_obj.source_file = txt
new_obj.read_only = True
self.app.new_object('document', name='Rules Check results', initialize=init, plot=False )