Hide the score column by default
This commit is contained in:
parent
9e20ef13bc
commit
3819a039c8
@ -33,7 +33,7 @@
|
||||
#include <math.h>
|
||||
|
||||
const char* PlaylistView::kSettingsGroup = "Playlist";
|
||||
const int PlaylistView::kStateVersion = 1;
|
||||
const int PlaylistView::kStateVersion = 2;
|
||||
const int PlaylistView::kGlowIntensitySteps = 24;
|
||||
const int PlaylistView::kAutoscrollGraceTimeout = 60; // seconds
|
||||
const int PlaylistView::kDropIndicatorWidth = 2;
|
||||
@ -198,6 +198,9 @@ void PlaylistView::LoadGeometry() {
|
||||
header_->HideSection(Playlist::Column_SkipCount);
|
||||
header_->HideSection(Playlist::Column_LastPlayed);
|
||||
}
|
||||
if (state_version < 2) {
|
||||
header_->HideSection(Playlist::Column_Score);
|
||||
}
|
||||
}
|
||||
|
||||
void PlaylistView::SaveGeometry() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user