mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
21680: EDF 2288 SMESH: creation of 0D elements from other elements
fix SMESHGUI_FilterTable::Init (const QList<int>& theTypes) for the case of theTypes.count() > 1
This commit is contained in:
parent
c7ed8139b4
commit
9aa7dd10a4
@ -1002,6 +1002,17 @@ void SMESHGUI_FilterTable::Init (const QList<int>& theTypes)
|
||||
|
||||
myLibDlg = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
QList<int>::const_iterator typeIt = theTypes.begin();
|
||||
for ( ; typeIt != theTypes.end(); ++typeIt ) {
|
||||
if ( !myTables[ *typeIt ] ) {
|
||||
Table* aTable = createTable(mySwitchTableGrp, *typeIt);
|
||||
myTables[ *typeIt ] = aTable;
|
||||
((QVBoxLayout*)mySwitchTableGrp->layout())->addWidget(myTables[ *typeIt ]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Hide buttons of entity types if necessary
|
||||
const QMap<int, QString>& aSupportedTypes = getSupportedTypes();
|
||||
|
Loading…
Reference in New Issue
Block a user