Bläddra i källkod

- updated Rules Check Tool - added an activity message

Marius Stanciu 5 år sedan
förälder
incheckning
a7e3a32d4a
2 ändrade filer med 4 tillägg och 1 borttagningar
  1. 1 0
      CHANGELOG.md
  2. 3 1
      appTools/ToolRulesCheck.py

+ 1 - 0
CHANGELOG.md

@@ -11,6 +11,7 @@ CHANGELOG for FlatCAM beta
 
 - updated Copper Thieving Tool to work with the updated program
 - updated Rules Check Tool - Hole Size rule to work with the new data structure for the Excellon objects
+- updated Rules Check Tool - added an activity message
 
 22.10.2020
 

+ 3 - 1
appTools/ToolRulesCheck.py

@@ -623,7 +623,8 @@ class RulesCheck(AppTool):
         log.debug("RuleCheck() executing")
 
         def worker_job(app_obj):
-            self.app.proc_container.new(_("Working..."))
+            # self.app.proc_container.new(_("Working..."))
+            self.app.proc_container.view.set_busy('%s' % _("Working..."))
 
             # RULE: Check Trace Size
             if self.ui.trace_size_cb.get_value():
@@ -1055,6 +1056,7 @@ class RulesCheck(AppTool):
                 output.append(p.get())
 
             self.tool_finished.emit(output)
+            self.app.proc_container.view.set_idle()
 
             log.debug("RuleCheck() finished")