Bug IPAL19464 - Qt4 porting. Orientation. Error on "Add to.." and "Copy from" in Filter for Faces(..Volumes)

This commit is contained in:
ouv 2008-04-09 09:33:37 +00:00
parent a2c6f7ce5a
commit c02e7e1caa

View File

@ -335,7 +335,9 @@ void SMESHGUI_FilterLibraryDlg::Init (const QList<int>& theTypes,
myTable->Init(theTypes);
myCurrFilterName = "";
myCurrFilter = -1;
myListBox->blockSignals(true);
myListBox->clear();
myListBox->blockSignals(false);
myName->clear();
myTable->Clear();
@ -694,7 +696,9 @@ void SMESHGUI_FilterLibraryDlg::updateList()
SMESH::string_array_var aNames = myLibrary->GetNames((SMESH::ElementType)myTable->GetType());
for (int i = 0, n = aNames->length(); i < n; i++)
aList.append(QString(aNames[ i ]));
myListBox->blockSignals(true);
myListBox->clear();
myListBox->blockSignals(false);
myListBox->addItems(aList);
if (myListBox->count() == 0)
{