Salome HOME
Qt4 porting: fix SIGSEGV on Renumbering dialog activation.
authormkr <mkr@opencascade.com>
Thu, 20 Mar 2008 08:56:48 +0000 (08:56 +0000)
committermkr <mkr@opencascade.com>
Thu, 20 Mar 2008 08:56:48 +0000 (08:56 +0000)
src/SMESHGUI/SMESHGUI_RenumberingDlg.cxx

index 2867d12dba44c7faa1524186f758e2284c6c62f9..c75eaee3de8a6783e1a298e3a0dd6052482e342f 100644 (file)
@@ -92,10 +92,10 @@ SMESHGUI_RenumberingDlg::SMESHGUI_RenumberingDlg( SMESHGUI* theModule, const int
   SMESHGUI_RenumberingDlgLayout->setMargin(MARGIN);
 
   /***************************************************************/
-  QGroupBox* GroupConstructors = new QGroupBox(unit == 0 ? 
-                                              tr("SMESH_NODES") :
-                                              tr("SMESH_ELEMENTS"), 
-                                              this);
+  GroupConstructors = new QGroupBox(unit == 0 ? 
+                                   tr("SMESH_NODES") :
+                                   tr("SMESH_ELEMENTS"), 
+                                   this);
   myHelpFileName = unit == 0 ? 
     "renumbering_nodes_and_elements_page.html#renumbering_nodes_anchor" :
     "renumbering_nodes_and_elements_page.html#renumbering_elements_anchor";