ParaSeries: attempt to fix a crash

Clicking property editor while the feature is recomputing was causing a
crash. Explicitly showing progress will stop the clicks reaching
property editor (because dialog is modal), and, hopefully, will prevent
crashes.
This commit is contained in:
DeepSOIC 2015-12-29 22:56:53 +03:00
parent e8e34edb87
commit 1044740c79

View File

@ -113,6 +113,7 @@ class LatticeParaSeries(lattice2BaseFeature.LatticeFeature):
import PySide
progress = PySide.QtGui.QProgressDialog(u"Recomputing "+selfobj.Label, u"Abort", 0, len(values)+1)
progress.setModal(True)
progress.show()
doc1 = selfobj.Document
doc2 = App.newDocument()