Skip to content

Commit

Permalink
adapting buttons on run method
Browse files Browse the repository at this point in the history
  • Loading branch information
Dayof committed Jun 6, 2017
1 parent 8b4e2f4 commit 6f85876
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cricket/view.py
Expand Up @@ -524,8 +524,12 @@ def run(self, active=True, status=None, labels=None):
"""
count, labels = self.project.find_tests(active, status, labels)

self.stop_button.enabled = True
self.run_all_button.enabled = False
self.run_selected_button.enabled = False
self.rerun_button.enabled = False

self.progress['maximum'] = count
self.progress_value.set(0)

# Create the runner
self.executor = Executor(self.project, count, labels)
Expand Down

0 comments on commit 6f85876

Please sign in to comment.