mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +05:00
Fix for bug IPAL9248(3.0.0: SIGSEGV after calling operation with group if OCC Viewer activate).
This commit is contained in:
parent
b2833ae90e
commit
bcbf3a1093
@ -1616,6 +1616,13 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
|
|
||||||
case 803: // EDIT GROUP
|
case 803: // EDIT GROUP
|
||||||
{
|
{
|
||||||
|
if ( !vtkwnd )
|
||||||
|
{
|
||||||
|
SUIT_MessageBox::warn1( desktop(), tr( "SMESH_WRN_WARNING" ),
|
||||||
|
tr( "NOT_A_VTK_VIEWER" ),tr( "SMESH_BUT_OK" ) );
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
if(checkLock(aStudy)) break;
|
if(checkLock(aStudy)) break;
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
|
|
||||||
@ -1668,6 +1675,13 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
case 811: // Intersect groups
|
case 811: // Intersect groups
|
||||||
case 812: // Cut groups
|
case 812: // Cut groups
|
||||||
{
|
{
|
||||||
|
if ( !vtkwnd )
|
||||||
|
{
|
||||||
|
SUIT_MessageBox::warn1( desktop(), tr( "SMESH_WRN_WARNING" ),
|
||||||
|
tr( "NOT_A_VTK_VIEWER" ),tr( "SMESH_BUT_OK" ) );
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
if ( checkLock( aStudy ) )
|
if ( checkLock( aStudy ) )
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -1684,6 +1698,13 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
|
|
||||||
case 813: // Delete groups with their contents
|
case 813: // Delete groups with their contents
|
||||||
{
|
{
|
||||||
|
if ( !vtkwnd )
|
||||||
|
{
|
||||||
|
SUIT_MessageBox::warn1( desktop(), tr( "SMESH_WRN_WARNING" ),
|
||||||
|
tr( "NOT_A_VTK_VIEWER" ),tr( "SMESH_BUT_OK" ) );
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
if ( checkLock( aStudy ) )
|
if ( checkLock( aStudy ) )
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user