From d13b8df885ff3cf051f851cbcb778796c228680f Mon Sep 17 00:00:00 2001 From: DeepSOIC Date: Mon, 4 Jan 2016 17:34:00 +0300 Subject: [PATCH] ParaSeries: disable progress bar Sorry, but it still causes crashes. --- lattice2ParaSeries.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lattice2ParaSeries.py b/lattice2ParaSeries.py index 56e9bd8..555f749 100644 --- a/lattice2ParaSeries.py +++ b/lattice2ParaSeries.py @@ -108,7 +108,7 @@ class LatticeParaSeries(lattice2BaseFeature.LatticeFeature): selfobj.Shape = markers.getNullShapeShape(scale) raise ValueError(selfobj.Name + ": list of values is empty.") - bGui = bool(App.GuiUp) + bGui = False #bool(App.GuiUp) #disabled temporarily, because it causes a crash if property edits are approved by hitting Enter if bGui: import PySide progress = PySide.QtGui.QProgressDialog(u"Recomputing "+selfobj.Label, u"Abort", 0, len(values)+1)