mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-25 09:00:33 +05:00
PAL5597 - export must appear in popup only for non-empty meshes
This commit is contained in:
parent
2bb3ddd168
commit
e292bda630
@ -2564,8 +2564,10 @@ void SMESHGUI::initialize( CAM_Application* app )
|
||||
createPopupItem( 1102, OB, hyp_alg ); // REMOVE HYPOTHESIS / ALGORITHMS
|
||||
createPopupItem( 1101, OB, mesh_group + " " + hyp_alg, "" /*"&& $hasReference={false}"*/ ); // RENAME
|
||||
popupMgr()->insert( separator(), -1, 0 );
|
||||
createPopupItem( 125, OB, mesh ); // EXPORT_MED
|
||||
createPopupItem( 126, OB, mesh ); // EXPORT_UNV
|
||||
|
||||
QString only_one_non_empty = QString( " && %1=1 && numberOfNodes>0" ).arg( QtxPopupMgr::Selection::defSelCountParam() );
|
||||
createPopupItem( 125, OB, mesh, only_one_non_empty ); // EXPORT_MED
|
||||
createPopupItem( 126, OB, mesh, only_one_non_empty ); // EXPORT_UNV
|
||||
createPopupItem( 33, OB, subMesh + " " + group ); // DELETE
|
||||
popupMgr()->insert( separator(), -1, 0 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user