Fix a bug in b8fce56821
which prevented the replaylist from being sorted correclty on init, refs #2405, #3473.
The default column argument is given in XML and applied in COList::SetupText() but it hasn't been stored, preventing JS from knowing the selected column. This was SVN commit r17665.
This commit is contained in:
parent
8827db201a
commit
7c40c67efa
@ -95,6 +95,8 @@ void COList::SetupText()
|
||||
m_SelectedDef = c;
|
||||
}
|
||||
|
||||
if (m_SelectedDef != (size_t)-1)
|
||||
GUI<CStr>::SetSetting(this, "selected_column", m_ObjectsDefs[m_SelectedDef].m_Id.substr(5));
|
||||
|
||||
// Generate texts
|
||||
float buffered_y = 0.f;
|
||||
|
Loading…
Reference in New Issue
Block a user