From 1044740c794fa608fde497f4865dc621a8c6eb51 Mon Sep 17 00:00:00 2001 From: DeepSOIC Date: Tue, 29 Dec 2015 22:56:53 +0300 Subject: [PATCH] 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. --- lattice2ParaSeries.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lattice2ParaSeries.py b/lattice2ParaSeries.py index 3070e4c..56e9bd8 100644 --- a/lattice2ParaSeries.py +++ b/lattice2ParaSeries.py @@ -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()