1
0
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:
Paweł Bara 2010-12-15 16:32:45 +00:00
parent 4563c2dbd9
commit 0f3b8156f3

View File

@ -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;