From de12924a7e451d45ca750c6cf1dfa9201e71cac9 Mon Sep 17 00:00:00 2001 From: AdAstra-LD <76622070+AdAstra-LD@users.noreply.github.com> Date: Sat, 19 Mar 2022 01:12:39 +0100 Subject: [PATCH] Minor header editor name sync fix --- DS_Map/Main Window.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/DS_Map/Main Window.cs b/DS_Map/Main Window.cs index ca2f6ef..c873a87 100644 --- a/DS_Map/Main Window.cs +++ b/DS_Map/Main Window.cs @@ -1631,7 +1631,10 @@ namespace DSPRE { } private void updateHeaderNameShown(int thisIndex) { disableHandlers = true; - headerListBox.Items[thisIndex] = headerListBoxNames[(ushort)currentHeader.ID]; + string val = (string)(headerListBox.Items[thisIndex] = headerListBoxNames[(ushort)currentHeader.ID]); + if (eventEditorIsReady) { + eventEditorWarpHeaderListBox.Items[thisIndex] = val; + } disableHandlers = false; } private void resetButton_Click(object sender, EventArgs e) {