show "(empty)" for BGChanges with no attributes set so that the user can see them to delete them

This commit is contained in:
Chris Danford
2005-06-07 09:45:27 +00:00
parent 33fa6acb3a
commit 524a3dd18d
+3
View File
@@ -585,6 +585,9 @@ void NoteField::DrawPrimitives()
if( !change.m_def.m_sEffect.empty() ) vsParts.push_back( change.m_def.m_sEffect );
if( !change.m_def.m_sColor1.empty() ) vsParts.push_back( change.m_def.m_sColor1 );
if( !change.m_def.m_sColor2.empty() ) vsParts.push_back( change.m_def.m_sColor2 );
if( vsParts.empty() )
vsParts.push_back( "(empty)" );
vsBGChanges.push_back( join("\n",vsParts) );
}