summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2026-10-09 19:36:15 +0300
committerGitHub <noreply@github.com>2026-10-09 19:36:15 +0300
commit7935d5cd40b8fe200ea0dd3014604a18b925a72d (patch)
tree537414424037b850e2932399e6dcd11190e5f99d
parentdb59a05ae2b69b87175ac1da5f87a532f47fce1a (diff)
#6203 fix page spinner showing 0 when chat history contains only one page
-rw-r--r--indra/newview/llfloaterconversationpreview.cpp2
1 files changed, 2 insertions, 0 deletions
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<LLSD>* 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();