PAL10471 - incorrect 3D popup for erased objects

This commit is contained in:
asl 2005-11-24 09:44:05 +00:00
parent 9048686ff8
commit d76a2a2557

View File

@ -2202,6 +2202,9 @@ void SMESHGUI::createPopupItem( const int id,
QChar lc = QtxPopupMgr::Selection::defEquality();
QString rule = "(%1) and (%2) and (%3)";
rule = rule.arg( QString( "%1>0" ).arg( QtxPopupMgr::Selection::defSelCountParam() ) );
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 += theRule;