mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-26 14:40:33 +05:00
Fix pb., appeared after wrong integration of 1.5 version: criteria are not saved
This commit is contained in:
parent
56e741c0f7
commit
694e1d2360
@ -95,7 +95,7 @@ bool SMESHGUI_FilterLibraryDlg::Dialog::acceptData()
|
|||||||
// Purpose : Constructor
|
// Purpose : Constructor
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
SMESHGUI_FilterLibraryDlg::SMESHGUI_FilterLibraryDlg (SMESHGUI* theModule,
|
SMESHGUI_FilterLibraryDlg::SMESHGUI_FilterLibraryDlg (SMESHGUI* theModule,
|
||||||
QWidget* parent,
|
QWidget* parent,
|
||||||
const QValueList<int>& theTypes,
|
const QValueList<int>& theTypes,
|
||||||
const int theMode,
|
const int theMode,
|
||||||
const char* theName)
|
const char* theName)
|
||||||
@ -111,7 +111,7 @@ SMESHGUI_FilterLibraryDlg::SMESHGUI_FilterLibraryDlg (SMESHGUI* theModule,
|
|||||||
// Purpose : Constructor
|
// Purpose : Constructor
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
SMESHGUI_FilterLibraryDlg::SMESHGUI_FilterLibraryDlg (SMESHGUI* theModule,
|
SMESHGUI_FilterLibraryDlg::SMESHGUI_FilterLibraryDlg (SMESHGUI* theModule,
|
||||||
QWidget* parent,
|
QWidget* parent,
|
||||||
const int theType,
|
const int theType,
|
||||||
const int theMode,
|
const int theMode,
|
||||||
const char* theName)
|
const char* theName)
|
||||||
@ -848,7 +848,6 @@ void SMESHGUI_FilterLibraryDlg::enableMainButtons()
|
|||||||
SMESH::Filter_ptr SMESHGUI_FilterLibraryDlg::createFilter(const int theType)
|
SMESH::Filter_ptr SMESHGUI_FilterLibraryDlg::createFilter(const int theType)
|
||||||
{
|
{
|
||||||
int n = myTable->NumRows(theType);
|
int n = myTable->NumRows(theType);
|
||||||
n = 0;
|
|
||||||
|
|
||||||
SMESH::Filter::Criteria_var aCriteria = new SMESH::Filter::Criteria;
|
SMESH::Filter::Criteria_var aCriteria = new SMESH::Filter::Criteria;
|
||||||
aCriteria->length(n);
|
aCriteria->length(n);
|
||||||
|
Loading…
Reference in New Issue
Block a user