Changed PEP-8 dialog code to disable the the start button while a check is in progress.

Tue, 10 Sep 2013 19:05:23 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 10 Sep 2013 19:05:23 +0200
changeset 2902
15a5fe0b0a09
parent 2900
04a13651238e
child 2904
1da821da961e

Changed PEP-8 dialog code to disable the the start button while a check is in progress.

Plugins/CheckerPlugins/Pep8/Pep8Dialog.py file | annotate | diff | comparison | revisions
--- a/Plugins/CheckerPlugins/Pep8/Pep8Dialog.py	Tue Sep 10 18:50:19 2013 +0200
+++ b/Plugins/CheckerPlugins/Pep8/Pep8Dialog.py	Tue Sep 10 19:05:23 2013 +0200
@@ -296,6 +296,7 @@
         self.statisticsButton.setEnabled(False)
         self.showButton.setEnabled(False)
         self.fixButton.setEnabled(False)
+        self.startButton.setEnabled(False)
         if repeat is not None:
             self.repeatCheckBox.setChecked(repeat)
         QApplication.processEvents()
@@ -487,6 +488,7 @@
         self.buttonBox.button(QDialogButtonBox.Close).setDefault(True)
         self.statisticsButton.setEnabled(True)
         self.showButton.setEnabled(True)
+        self.startButton.setEnabled(True)
         
         if self.noResults:
             QTreeWidgetItem(self.resultList, [self.trUtf8('No issues found.')])

eric ide

mercurial