Update Main Window.cs

This commit is contained in:
AdAstra-LD
2021-02-01 17:25:49 +01:00
parent 8824d163fb
commit aedf0b8b8c

View File

@@ -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++) {