mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-23 07:50:13 +01:00
make sure a playlist column will appear in the UI even if it's width was somehow set to 0
This commit is contained in:
parent
4563c2dbd9
commit
0f3b8156f3
@ -118,6 +118,11 @@ void StretchHeaderView::HideSection(int logical) {
|
||||
}
|
||||
|
||||
void StretchHeaderView::ShowSection(int logical) {
|
||||
// makes sure the column will apear no matter what
|
||||
if (sectionSize(logical) < 10) {
|
||||
resizeSection(logical, 10);
|
||||
}
|
||||
|
||||
if (!stretch_enabled_) {
|
||||
showSection(logical);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user