Fix for the problem: click "Apply" button unselects mesh.

This commit is contained in:
mzn 2005-09-01 09:20:12 +00:00
parent 6d21d95e08
commit 4d3a3d10b2
5 changed files with 6 additions and 6 deletions

View File

@ -384,10 +384,10 @@ bool SMESHGUI_ExtrusionDlg::ClickOnApply()
} catch (...) {
}
mySelectionMgr->clearSelected();
SMESH::UpdateView();
Init(false);
ConstructorsClicked(GetConstructorId());
SelectionIntoArgument();
}
return true;
}

View File

@ -469,10 +469,10 @@ void SMESHGUI_RevolutionDlg::ClickOnApply()
} catch (...) {
}
mySelectionMgr->clearSelected();
SMESH::UpdateView();
Init(false);
ConstructorsClicked(GetConstructorId());
SelectionIntoArgument();
}
}

View File

@ -424,9 +424,9 @@ void SMESHGUI_RotationDlg::ClickOnApply()
} catch (...) {
}
mySelectionMgr->clearSelected();
SMESH::UpdateView();
Init(false);
SelectionIntoArgument();
}
}

View File

@ -485,10 +485,10 @@ void SMESHGUI_SymmetryDlg::ClickOnApply()
} catch (...) {
}
mySelectionMgr->clearSelected();
SMESH::UpdateView();
Init(false);
ConstructorsClicked(GetConstructorId());
SelectionIntoArgument();
}
}

View File

@ -447,10 +447,10 @@ void SMESHGUI_TranslationDlg::ClickOnApply()
} catch (...) {
}
mySelectionMgr->clearSelected();
SMESH::UpdateView();
Init(false);
ConstructorsClicked(GetConstructorId());
SelectionIntoArgument();
}
}
@ -624,7 +624,7 @@ void SMESHGUI_TranslationDlg::SelectionIntoArgument()
aNbUnits = anElementsIds->length();
}
} else {
aNbUnits = SMESH::GetNameOfSelectedElements(mySelector, myActor->getIO(), aString);
aNbUnits = SMESH::GetNameOfSelectedElements(mySelector, IO, aString);
myElementsId = aString;
}