mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
fix: correct arguments highlighting after removing entry
This commit is contained in:
parent
f5d28f155a
commit
cdfe451880
|
@ -84,7 +84,10 @@ void CEditor::RenderServerSettingsEditor(CUIRect View, bool ShowServerSettingsEd
|
|||
s_CommandSelectedIndex = m_Map.m_vSettings.size() - 1;
|
||||
if(s_CommandSelectedIndex >= 0)
|
||||
m_SettingsCommandInput.Set(m_Map.m_vSettings[s_CommandSelectedIndex].m_aCommand);
|
||||
else
|
||||
m_SettingsCommandInput.Clear();
|
||||
m_Map.OnModify();
|
||||
m_MapSettingsCommandContext.Update();
|
||||
s_ListBox.ScrollToSelected();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue