SL-19717 don't open new floater when taking an object from in-world or copying content

meow-7.2.2
Maxim Nikolenko 2023-05-16 22:36:26 +03:00
parent 55fb718598
commit 86fc10f710
1 changed files with 1 additions and 1 deletions

View File

@ -1539,7 +1539,7 @@ void open_inventory_offer(const uuid_vec_t& objects, const std::string& from_nam
////////////////////////////////////////////////////////////////////////////////
static LLUICachedControl<bool> find_original_new_floater("FindOriginalOpenWindow", false);
//show in a new single-folder window
if(find_original_new_floater)
if(find_original_new_floater && !from_name.empty())
{
const LLInventoryObject *obj = gInventory.getObject(obj_id);
if (obj && obj->getParentUUID().notNull())