From 0f3b8156f3878d518f02dd3eb7f625fd32d72b34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bara?= Date: Wed, 15 Dec 2010 16:32:45 +0000 Subject: [PATCH] make sure a playlist column will appear in the UI even if it's width was somehow set to 0 --- src/widgets/stretchheaderview.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/widgets/stretchheaderview.cpp b/src/widgets/stretchheaderview.cpp index 3dd7ba571..598b1857c 100644 --- a/src/widgets/stretchheaderview.cpp +++ b/src/widgets/stretchheaderview.cpp @@ -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;