mirror of
https://github.com/clementine-player/Clementine
synced 2025-02-02 20:36:44 +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) {
|
void StretchHeaderView::ShowSection(int logical) {
|
||||||
|
// makes sure the column will apear no matter what
|
||||||
|
if (sectionSize(logical) < 10) {
|
||||||
|
resizeSection(logical, 10);
|
||||||
|
}
|
||||||
|
|
||||||
if (!stretch_enabled_) {
|
if (!stretch_enabled_) {
|
||||||
showSection(logical);
|
showSection(logical);
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user