Fix the issue that the run button can not be disabled
Merge pull request #2188 from Randy-Ma/master

Fix the issue that the run button can not be disabled