Skip to content

Commit

Permalink
Release Version
Browse files Browse the repository at this point in the history
  • Loading branch information
3wnbr1 committed May 3, 2018
1 parent 6d43b2b commit 7d89d01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Binary file modified .DS_Store
Binary file not shown.
3 changes: 3 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def modelChanged(self):
self.groupBoxConditions.setEnabled(True)
self.groupBoxElements.setEnabled(True)
self.groupBoxComputation.setEnabled(True)
self.pushButtonPlotMatrix.setEnabled(False)
self.labelStatus1.setText("✅")
self.model = eval(
"models." + self.listWidget.currentItem().text() + '()')
Expand Down Expand Up @@ -126,6 +127,7 @@ def sectionChanged(self):

def elementsNumberChanged(self):
"""Change in number of elements."""
self.pushButtonPlotMatrix.setEnabled(False)
self.lineEditElements.setText(
str(int(2**(self.horizontalSliderElements.value()))))

Expand Down Expand Up @@ -229,6 +231,7 @@ def compute(self):
self.model._lenght = self.doubleSpinBoxLenght.value()
self.updateSection()
self.model.elems(int(self.lineEditElements.text()))
self.pushButtonPlotMatrix.setEnabled(True)
diag.show()
QApplication.processEvents()
if self.model._effortsRepartis:
Expand Down

0 comments on commit 7d89d01

Please sign in to comment.