cleanup: move code from ScreenOptions into OptionRow
This commit is contained in:
@@ -878,11 +878,11 @@ void ScreenOptionsMaster::RefreshIcons()
|
||||
{
|
||||
for( unsigned i=0; i<m_Rows.size(); ++i ) // foreach options line
|
||||
{
|
||||
if( m_Rows[i]->m_Type == OptionRow::ROW_EXIT )
|
||||
if( m_Rows[i]->GetRowType() == OptionRow::ROW_EXIT )
|
||||
continue; // skip
|
||||
|
||||
OptionRow &row = *m_Rows[i];
|
||||
const OptionRowDefinition &data = row.m_RowDef;
|
||||
const OptionRowDefinition &data = row.GetRowDef();
|
||||
|
||||
// find first selection and whether multiple are selected
|
||||
int iFirstSelection = row.GetOneSelection( p, true );
|
||||
|
||||
Reference in New Issue
Block a user