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

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 10 Sep 2013 19:05:51 +0200
branch
5_3_x
changeset 2903
d752d00ed744
parent 2901
11fdeb2891a8
child 2924
66c644db24f4

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:51 2013 +0200
@@ -209,6 +209,7 @@
         self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True)
         self.statisticsButton.setEnabled(False)
         self.showButton.setEnabled(False)
+        self.startButton.setEnabled(False)
         if repeat is not None:
             self.repeatCheckBox.setChecked(repeat)
         QApplication.processEvents()
@@ -355,6 +356,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