From 2f0f92a23aed113b059b26ae5c84efa74c58348a Mon Sep 17 00:00:00 2001 From: nds Date: Fri, 7 Apr 2017 15:19:00 +0300 Subject: [PATCH] Issue #2112 performance for partition --- src/XGUI/XGUI_Workshop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index 01336c642..bad768e17 100755 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -597,7 +597,7 @@ void XGUI_Workshop::fillPropertyPanel(ModuleBase_Operation* theOperation) #endif bool anIsAutoPreview = true; if (aFeatureInfo.get()) - aFeatureInfo->isAutoPreview(); + anIsAutoPreview = aFeatureInfo->isAutoPreview(); else { std::string aXmlCfg, aDescription; module()->getXMLRepresentation(aFeatureKind, aXmlCfg, aDescription); -- 2.39.2