mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-14 02:30:35 +05:00
INT PAL 52906: TC7.7.0: SIGSEGV at attempt to restrict selection by second shape in 'Create Group' dialog box
This commit is contained in:
parent
1db636b7ff
commit
0c3f5d3c34
@ -446,7 +446,7 @@ void GroupGUI_GroupDlg::ActivateThisDialog()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void GroupGUI_GroupDlg::SetEditCurrentArgument()
|
void GroupGUI_GroupDlg::SetEditCurrentArgument()
|
||||||
{
|
{
|
||||||
QPushButton* send = (QPushButton*)sender();
|
QPushButton* send = qobject_cast<QPushButton*>( sender() );
|
||||||
|
|
||||||
if (send == mySelBtn) {
|
if (send == mySelBtn) {
|
||||||
myEditCurrentArgument = myMainName;
|
myEditCurrentArgument = myMainName;
|
||||||
@ -472,6 +472,7 @@ void GroupGUI_GroupDlg::SetEditCurrentArgument()
|
|||||||
// activateSelection();
|
// activateSelection();
|
||||||
if(myEditCurrentArgument) {
|
if(myEditCurrentArgument) {
|
||||||
myEditCurrentArgument->setFocus();
|
myEditCurrentArgument->setFocus();
|
||||||
|
if ( send )
|
||||||
send->setDown(true);
|
send->setDown(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user