]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issues #2173, #2169: Activate PropertyPanel window to accept focus always in double...
authornds <nds@opencascade.com>
Mon, 29 May 2017 12:50:49 +0000 (15:50 +0300)
committernds <nds@opencascade.com>
Mon, 29 May 2017 12:50:49 +0000 (15:50 +0300)
src/ModuleBase/ModuleBase_ModelWidget.cpp

index c3efc6b30b840b1a20802463fb566921bc1e880f..4096b712c486f912b512772e2777ada84c1c7638 100644 (file)
@@ -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;