mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30:35 +05:00
Fix for IPAL19590: Qt4 porting: Segmentation violation at Modification - add Quadratic Tetrahedron.
This commit is contained in:
parent
14f66eecc8
commit
5c72fdd558
@ -549,9 +549,13 @@ void SMESHGUI_AddQuadraticElementDlg::Init()
|
|||||||
|
|
||||||
for ( int row = 0; row < myTable->rowCount(); row++ )
|
for ( int row = 0; row < myTable->rowCount(); row++ )
|
||||||
{
|
{
|
||||||
|
myTable->setItem( row, 0, new QTableWidgetItem( "" ) );
|
||||||
|
|
||||||
SMESHGUI_IdEditItem* anEditItem = new SMESHGUI_IdEditItem( "" );
|
SMESHGUI_IdEditItem* anEditItem = new SMESHGUI_IdEditItem( "" );
|
||||||
anEditItem->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEditable | Qt::ItemIsEnabled);
|
anEditItem->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEditable | Qt::ItemIsEnabled);
|
||||||
myTable->setItem(row, 1, anEditItem);
|
myTable->setItem(row, 1, anEditItem);
|
||||||
|
|
||||||
|
myTable->setItem( row, 2, new QTableWidgetItem( "" ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* signals and slots connections */
|
/* signals and slots connections */
|
||||||
|
Loading…
Reference in New Issue
Block a user