mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-13 17:18:35 +05:00
PAL19582 : crash on apply
This commit is contained in:
parent
fe7a36de02
commit
e9fc10eaaa
@ -1004,9 +1004,9 @@ void SMESHGUI_FilterTable::GetCriterion (const int theRow,
|
||||
}
|
||||
else
|
||||
{
|
||||
theCriterion.ThresholdStr = aTable->text(theRow, 2).toLatin1().data();
|
||||
theCriterion.ThresholdStr = CORBA::string_dup( aTable->text(theRow, 2).toLatin1().constData() );
|
||||
if ( aCriterionType != SMESH::FT_RangeOfIds )
|
||||
theCriterion.ThresholdID = aTable->text( theRow, 5 ).toLatin1().data();
|
||||
theCriterion.ThresholdID = CORBA::string_dup( aTable->text( theRow, 5 ).toLatin1().constData() );
|
||||
}
|
||||
|
||||
QTableWidgetItem* anItem = aTable->item(theRow, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user