From: nds Date: Mon, 29 May 2017 12:50:49 +0000 (+0300) Subject: Issues #2173, #2169: Activate PropertyPanel window to accept focus always in double... X-Git-Tag: V_2.7.1.1~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9f7d9cd8390becda08fc7c9acb35c4b5a383150a;p=modules%2Fshaper.git Issues #2173, #2169: Activate PropertyPanel window to accept focus always in double editor(even after click in the viewer) --- diff --git a/src/ModuleBase/ModuleBase_ModelWidget.cpp b/src/ModuleBase/ModuleBase_ModelWidget.cpp index c3efc6b30..4096b712c 100644 --- a/src/ModuleBase/ModuleBase_ModelWidget.cpp +++ b/src/ModuleBase/ModuleBase_ModelWidget.cpp @@ -474,7 +474,7 @@ QString ModuleBase_ModelWidget::translate(const std::string& theStr) const ModuleBase_ModelWidget* ModuleBase_ModelWidget::findModelWidget(ModuleBase_IPropertyPanel* theProp, QWidget* theWidget) { - ModuleBase_ModelWidget* aModelWidget; + ModuleBase_ModelWidget* aModelWidget = 0; if (!theWidget) return aModelWidget;