Skip to content

Commit

Permalink
Update SessionStateContainer.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoCoderMatrix86 committed Apr 2, 2024
1 parent 5fc13e2 commit 04318d6
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions AudioCuesheetEditor/Extensions/SessionStateContainer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 04318d6

Please sign in to comment.