mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-26 09:20: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()
|
||||
{
|
||||
QPushButton* send = (QPushButton*)sender();
|
||||
QPushButton* send = qobject_cast<QPushButton*>( sender() );
|
||||
|
||||
if (send == mySelBtn) {
|
||||
myEditCurrentArgument = myMainName;
|
||||
@ -472,7 +472,8 @@ void GroupGUI_GroupDlg::SetEditCurrentArgument()
|
||||
// activateSelection();
|
||||
if(myEditCurrentArgument) {
|
||||
myEditCurrentArgument->setFocus();
|
||||
send->setDown(true);
|
||||
if ( send )
|
||||
send->setDown(true);
|
||||
}
|
||||
|
||||
updateState();
|
||||
|
Loading…
Reference in New Issue
Block a user