Skip to content

Commit

Permalink
Minor change + upload archive
Browse files Browse the repository at this point in the history
  • Loading branch information
mz committed May 19, 2017
1 parent 0fab103 commit f1a0060
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 22 deletions.
4 changes: 2 additions & 2 deletions SpatialPositionModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ def run(self):
"""Run method that performs all the real work"""
# show the dialog
self.dlg.show()
self.dlg.StewartComboBox_pts.setCurrentIndex(-1)
self.dlg.button_box.button(QDialogButtonBox.Ok).setEnabled(False)
if self.dlg.StewartComboBox_pts.currentIndex() == -1:
self.dlg.button_box.button(QDialogButtonBox.Ok).setEnabled(False)
result = self.dlg.exec_()
# See if OK was pressed
if result == 1:
Expand Down
Binary file added SpatialPositionModel.zip
Binary file not shown.
Loading

0 comments on commit f1a0060

Please sign in to comment.