diff --git a/AudioCuesheetEditor/Model/Options/ApplicationOptions.cs b/AudioCuesheetEditor/Model/Options/ApplicationOptions.cs
index 79f88022..7449b09e 100644
--- a/AudioCuesheetEditor/Model/Options/ApplicationOptions.cs
+++ b/AudioCuesheetEditor/Model/Options/ApplicationOptions.cs
@@ -92,6 +92,8 @@ public String? ViewModename
public Boolean LinkTracksWithPreviousOne { get; set; } = true;
public String? ProjectFilename { get; set; } = Projectfile.DefaultFilename;
public TimeSpanFormat? TimeSpanFormat { get; set; }
+ public Boolean TracksTableSelectionVisible { get; set; } = false;
+ public Boolean TracksTableHeaderPinned { get; set; } = false;
protected override ValidationResult Validate(string property)
{
diff --git a/AudioCuesheetEditor/Shared/TrackList/TrackList.razor b/AudioCuesheetEditor/Shared/TrackList/TrackList.razor
index 763a8d3b..2112939c 100644
--- a/AudioCuesheetEditor/Shared/TrackList/TrackList.razor
+++ b/AudioCuesheetEditor/Shared/TrackList/TrackList.razor
@@ -47,14 +47,14 @@ along with Foobar. If not, see
AddButtonClicked="OnAddTrackClicked"
EditSelectedTracksClicked="EditSelectedTracksClicked"
DeleteSelectedTracksClicked="DeleteSelectedTracksClicked"
- DeleteAllTracksClicked="OnDeleteAllTracksClicked"
- FixedTableHeader="fixedTableHeader"
- FixedTableHeaderChanged="(newValue) => fixedTableHeader = newValue"
+ DeleteAllTracksClicked="OnDeleteAllTracksClicked"
+ FixedTableHeader="PinnedTableHeader"
+ FixedTableHeaderChanged="(newValue) => PinnedTableHeader = newValue"
TrackSelectionVisible="TrackSelectionVisible"
TrackSelectionVisibleChanged="(newValue) => TrackSelectionVisible = newValue" />
}
-
+
@if ((_sessionStateContainer.CurrentViewMode == ViewMode.ViewModeFull) && (TrackSelectionVisible))
@@ -99,15 +99,13 @@ along with Foobar. If not, see
@code {
- //TODO: Save trackselectionvisible and fixedheader to applicationOptions
ModalDialog? modalDialog;
EditTrackModal? modalTrackEdit;
List