[OptionRow] Added Text param to RefreshMessageCommand.

This commit is contained in:
AJ Kelly
2011-04-30 05:11:16 -05:00
parent 3869c69098
commit 8dfa27df5e
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -645,6 +645,7 @@ void OptionRow::SetModIcon( PlayerNumber pn, const RString &sText, GameCommand &
// update row frame
Message msg( "Refresh" );
msg.SetParam( "GameCommand", &gc );
msg.SetParam( "Text", sText );
m_sprFrame->HandleMessage( msg );
if( m_ModIcons[pn] != NULL )
m_ModIcons[pn]->Set( sText );