Fix problems in the GroupList. (fixes bug# 781647)

This commit is contained in:
Thad Ward
2003-08-29 03:08:03 +00:00
parent 38233e713a
commit cd14d8ef69
2 changed files with 5 additions and 6 deletions
+2 -3
View File
@@ -109,9 +109,6 @@ void GroupList::AfterChange()
m_Frame.Command( SCROLL_TWEEN_COMMAND );
m_Frame.SetY( -m_iTop*SPACING_Y );
m_sprButtons[m_iSelection]->Command( GAIN_FOCUS_COMMAND );
m_textLabels[m_iSelection]->Command( GAIN_FOCUS_COMMAND );
for( int i=0; i < (int) m_asLabels.size(); i++ )
{
const bool IsHidden = !ItemIsOnScreen(i);
@@ -132,6 +129,8 @@ void GroupList::AfterChange()
m_bHidden[i] = IsHidden;
}
m_sprButtons[m_iSelection]->Command( GAIN_FOCUS_COMMAND );
m_textLabels[m_iSelection]->Command( GAIN_FOCUS_COMMAND );
}
void GroupList::Up()