From: ouv Date: Wed, 9 Apr 2008 09:33:37 +0000 (+0000) Subject: Bug IPAL19464 - Qt4 porting. Orientation. Error on "Add to.." and "Copy from" in... X-Git-Tag: V5_0_0~19 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c02e7e1caa7bc50a7017a06a62b51522e2015cbd;p=modules%2Fsmesh.git Bug IPAL19464 - Qt4 porting. Orientation. Error on "Add to.." and "Copy from" in Filter for Faces(..Volumes) --- diff --git a/src/SMESHGUI/SMESHGUI_FilterLibraryDlg.cxx b/src/SMESHGUI/SMESHGUI_FilterLibraryDlg.cxx index e3f08eac5..38632b474 100644 --- a/src/SMESHGUI/SMESHGUI_FilterLibraryDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_FilterLibraryDlg.cxx @@ -335,7 +335,9 @@ void SMESHGUI_FilterLibraryDlg::Init (const QList& 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) {