do call InitText and AfterImportOptions on exit row
This commit is contained in:
@@ -243,8 +243,10 @@ void ScreenOptions::InitMenu( const vector<OptionRowDefinition> &vDefs, const ve
|
|||||||
OptionRow &row = *m_pRows.back();
|
OptionRow &row = *m_pRows.back();
|
||||||
row.LoadMetrics( m_sName );
|
row.LoadMetrics( m_sName );
|
||||||
row.LoadExit();
|
row.LoadExit();
|
||||||
|
row.InitText();
|
||||||
row.SetDrawOrder( 1 );
|
row.SetDrawOrder( 1 );
|
||||||
m_framePage.AddChild( &row );
|
m_framePage.AddChild( &row );
|
||||||
|
row.AfterImportOptions();
|
||||||
}
|
}
|
||||||
|
|
||||||
m_framePage.SortByDrawOrder();
|
m_framePage.SortByDrawOrder();
|
||||||
|
|||||||
Reference in New Issue
Block a user