[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
@@ -17,6 +17,7 @@ sm-ssc v1.2.5 | 20110???
--------
* [ScreenOptions] Renamed "ScreenOptions LineHighlight" to "ScreenOptions
LineHighlight P#", making it load per-player. [AJ]
* [OptionRow] Added Text param to RefreshMessageCommand. [AJ]
20110428
--------
+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 );