From 04318d6810297973d6d987265ca90543c31e87f9 Mon Sep 17 00:00:00 2001 From: NeoCoderMatrix86 <40752681+NeoCoderMatrix86@users.noreply.github.com> Date: Tue, 2 Apr 2024 16:44:01 +0200 Subject: [PATCH] Update SessionStateContainer.cs --- .../Extensions/SessionStateContainer.cs | 24 +++++++++---------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/AudioCuesheetEditor/Extensions/SessionStateContainer.cs b/AudioCuesheetEditor/Extensions/SessionStateContainer.cs index 9bfb0a2c..d46385f6 100644 --- a/AudioCuesheetEditor/Extensions/SessionStateContainer.cs +++ b/AudioCuesheetEditor/Extensions/SessionStateContainer.cs @@ -118,18 +118,6 @@ public Audiofile? ImportAudiofile } } - private void TextImportScheme_AnalysisFinished(object? sender, EventArgs eventArgs) - { - if (textImportFile != null) - { - ImportCuesheet = textImportFile.Cuesheet; - } - else - { - ImportCuesheet = null; - } - } - public ViewMode CurrentViewMode { get { return currentViewMode; } @@ -166,7 +154,17 @@ private void SetCuesheetReference(Cuesheet value) _traceChangeManager.TraceChanges(Cuesheet); CuesheetChanged?.Invoke(this, EventArgs.Empty); } - + private void TextImportScheme_AnalysisFinished(object? sender, EventArgs eventArgs) + { + if (textImportFile != null) + { + ImportCuesheet = textImportFile.Cuesheet; + } + else + { + ImportCuesheet = null; + } + } private void Cuesheet_CuesheetImported(object? sender, EventArgs e) { CuesheetChanged?.Invoke(this, EventArgs.Empty);