From 416ad1831f40052fccc01f012c4452d61e57f0f8 Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Thu, 3 Jun 2021 23:46:55 +0300 Subject: SL-15340 The list of parcels is duplicated after reopening 1. Clean list before requesting 2. Don't trigger onOpen from menu if already open --- indra/newview/llfloaterlandholdings.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'indra/newview/llfloaterlandholdings.cpp') diff --git a/indra/newview/llfloaterlandholdings.cpp b/indra/newview/llfloaterlandholdings.cpp index f34760a6bf..a6cdf4b0c1 100644 --- a/indra/newview/llfloaterlandholdings.cpp +++ b/indra/newview/llfloaterlandholdings.cpp @@ -105,6 +105,9 @@ LLFloaterLandHoldings::~LLFloaterLandHoldings() void LLFloaterLandHoldings::onOpen(const LLSD& key) { + LLScrollListCtrl *list = getChild("parcel list"); + list->clearRows(); + // query_id null is known to be us const LLUUID& query_id = LLUUID::null; -- cgit v1.2.3