Salome HOME
Fix pb., appeared after wrong integration of 1.5 version: criteria are not saved
authorjfa <jfa@opencascade.com>
Tue, 4 Oct 2005 07:29:19 +0000 (07:29 +0000)
committerjfa <jfa@opencascade.com>
Tue, 4 Oct 2005 07:29:19 +0000 (07:29 +0000)
src/SMESHGUI/SMESHGUI_FilterLibraryDlg.cxx

index 8ea1769..a6e560f 100644 (file)
@@ -95,7 +95,7 @@ bool SMESHGUI_FilterLibraryDlg::Dialog::acceptData()
 // Purpose : Constructor
 //=======================================================================
 SMESHGUI_FilterLibraryDlg::SMESHGUI_FilterLibraryDlg (SMESHGUI* theModule,
-                                                     QWidget* parent,
+                                                      QWidget* parent,
                                                       const QValueList<int>& theTypes,
                                                       const int              theMode,
                                                       const char*            theName)
@@ -111,7 +111,7 @@ SMESHGUI_FilterLibraryDlg::SMESHGUI_FilterLibraryDlg (SMESHGUI* theModule,
 // Purpose : Constructor
 //=======================================================================
 SMESHGUI_FilterLibraryDlg::SMESHGUI_FilterLibraryDlg (SMESHGUI* theModule,
-                                                     QWidget* parent,
+                                                      QWidget* parent,
                                                       const int   theType,
                                                       const int   theMode,
                                                       const char* theName)
@@ -848,7 +848,6 @@ void SMESHGUI_FilterLibraryDlg::enableMainButtons()
 SMESH::Filter_ptr SMESHGUI_FilterLibraryDlg::createFilter(const int theType)
 {
   int n = myTable->NumRows(theType);
-  n = 0;
 
   SMESH::Filter::Criteria_var aCriteria = new SMESH::Filter::Criteria;
   aCriteria->length(n);