mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +05:00
PAL10471 - incorrect 3D popup for erased objects
This commit is contained in:
parent
9048686ff8
commit
d76a2a2557
@ -2202,7 +2202,10 @@ void SMESHGUI::createPopupItem( const int id,
|
|||||||
QChar lc = QtxPopupMgr::Selection::defEquality();
|
QChar lc = QtxPopupMgr::Selection::defEquality();
|
||||||
QString rule = "(%1) and (%2) and (%3)";
|
QString rule = "(%1) and (%2) and (%3)";
|
||||||
rule = rule.arg( QString( "%1>0" ).arg( QtxPopupMgr::Selection::defSelCountParam() ) );
|
rule = rule.arg( QString( "%1>0" ).arg( QtxPopupMgr::Selection::defSelCountParam() ) );
|
||||||
rule = rule.arg( QString( "%1client in {%2}" ).arg( lc ).arg( clients ) );
|
if( clients.isEmpty() )
|
||||||
|
rule = rule.arg( QString( "true" ) );
|
||||||
|
else
|
||||||
|
rule = rule.arg( QString( "%1client in {%2}" ).arg( lc ).arg( clients ) );
|
||||||
rule = rule.arg( QString( "%1type in {%2}" ).arg( lc ).arg( types ) );
|
rule = rule.arg( QString( "%1type in {%2}" ).arg( lc ).arg( types ) );
|
||||||
rule += theRule;
|
rule += theRule;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user