From aedf0b8b8ccb4fd60837ecafe768e2458f423583 Mon Sep 17 00:00:00 2001 From: AdAstra-LD Date: Mon, 1 Feb 2021 17:25:49 +0100 Subject: [PATCH] Update Main Window.cs --- DS_Map/Main Window.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/DS_Map/Main Window.cs b/DS_Map/Main Window.cs index 4c5f786..123e5e3 100644 --- a/DS_Map/Main Window.cs +++ b/DS_Map/Main Window.cs @@ -5651,7 +5651,8 @@ namespace DSPRE { /* Prompt user to select .msg file */ OpenFileDialog of = new OpenFileDialog(); of.Filter = "Text Archive (*.msg)|*.msg"; - if (of.ShowDialog(this) != DialogResult.OK) return; + if (of.ShowDialog(this) != DialogResult.OK) + return; /* Update Text Archive object in memory */ string path = RomInfo.textArchivesPath + "\\" + selectTextFileComboBox.SelectedIndex.ToString("D4"); @@ -5811,7 +5812,6 @@ namespace DSPRE { private void selectTextFileComboBox_SelectedIndexChanged(object sender, EventArgs e) { updateTextEditorFileView(true); } - private void updateTextEditorFileView(bool readAgain) { disableHandlers = true; @@ -5832,7 +5832,6 @@ namespace DSPRE { disableHandlers = false; } - private void printTextEditorLinesHex() { disableHandlers = true; for (int i = 0; i < currentTextArchive.messages.Count; i++) {