From 7935d5cd40b8fe200ea0dd3014604a18b925a72d Mon Sep 17 00:00:00 2001 From: Maxim Nikolenko Date: Fri, 9 Oct 2026 19:36:15 +0300 Subject: #6203 fix page spinner showing 0 when chat history contains only one page --- indra/newview/llfloaterconversationpreview.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/indra/newview/llfloaterconversationpreview.cpp b/indra/newview/llfloaterconversationpreview.cpp index 1698d6e914..1ba71d9c84 100644 --- a/indra/newview/llfloaterconversationpreview.cpp +++ b/indra/newview/llfloaterconversationpreview.cpp @@ -140,6 +140,8 @@ void LLFloaterConversationPreview::setPages(std::list* messages, const std // Publish the new page range together so draw() never renders stale bounds. mPageSpinner->setEnabled(true); mPageSpinner->setMaxValue((F32)(last_page+1)); + // Force forceSetValue() below to refresh the displayed text even if the value is unchanged + mPageSpinner->clear(); // Refresh the displayed page even while the editor has focus. mPageSpinner->forceSetValue((F32)(mCurrentPage+1)); mPageSpinner->resetDirty(); -- cgit v1.3