mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-13 17:18:35 +05:00
Bug IPAL19464 - Qt4 porting. Orientation. Error on "Add to.." and "Copy from" in Filter for Faces(..Volumes)
This commit is contained in:
parent
a2c6f7ce5a
commit
c02e7e1caa
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user