From dd56696cdc3395c98f520bda0067d6c7abc09057 Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Thu, 5 Aug 2021 16:06:04 -0400 Subject: [PATCH] Fix odd behavior in scroll lists --- indra/llui/llscrolllistctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/llui/llscrolllistctrl.cpp b/indra/llui/llscrolllistctrl.cpp index 4884a0068c6..1ccca523605 100644 --- a/indra/llui/llscrolllistctrl.cpp +++ b/indra/llui/llscrolllistctrl.cpp @@ -784,7 +784,7 @@ void LLScrollListCtrl::updateColumns(bool force_update) bool header_changed_width = false; // expand last column header we encountered to full list width - if (last_header) + if (last_header && last_header->canResize()) { S32 old_width = last_header->getColumn()->getWidth(); S32 new_width = llmax(0, mItemListRect.mRight - last_header->getRect().mLeft); -- GitLab