mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-29 05:40:33 +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);
|
myTable->Init(theTypes);
|
||||||
myCurrFilterName = "";
|
myCurrFilterName = "";
|
||||||
myCurrFilter = -1;
|
myCurrFilter = -1;
|
||||||
|
myListBox->blockSignals(true);
|
||||||
myListBox->clear();
|
myListBox->clear();
|
||||||
|
myListBox->blockSignals(false);
|
||||||
myName->clear();
|
myName->clear();
|
||||||
myTable->Clear();
|
myTable->Clear();
|
||||||
|
|
||||||
@ -694,7 +696,9 @@ void SMESHGUI_FilterLibraryDlg::updateList()
|
|||||||
SMESH::string_array_var aNames = myLibrary->GetNames((SMESH::ElementType)myTable->GetType());
|
SMESH::string_array_var aNames = myLibrary->GetNames((SMESH::ElementType)myTable->GetType());
|
||||||
for (int i = 0, n = aNames->length(); i < n; i++)
|
for (int i = 0, n = aNames->length(); i < n; i++)
|
||||||
aList.append(QString(aNames[ i ]));
|
aList.append(QString(aNames[ i ]));
|
||||||
|
myListBox->blockSignals(true);
|
||||||
myListBox->clear();
|
myListBox->clear();
|
||||||
|
myListBox->blockSignals(false);
|
||||||
myListBox->addItems(aList);
|
myListBox->addItems(aList);
|
||||||
if (myListBox->count() == 0)
|
if (myListBox->count() == 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user