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:
parent
e8e34edb87
commit
1044740c79
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user