FIRE-31973: Grid position in the region panel isn't shown properly anymore

meow-7.2.2
Ansariel 2022-08-22 11:55:30 +02:00
parent f39200d31d
commit 0de05cff4e
2 changed files with 5 additions and 5 deletions

View File

@ -571,9 +571,9 @@ void LLFloaterRegionInfo::processRegionInfo(LLMessageSystem* msg)
}
msg->getU32Fast(_PREHASH_RegionInfo, _PREHASH_EstateID, estate_id);
panel->getChild<LLLineEditor>("estate_id")->setValue(LLSD((F32) estate_id));
panel->getChild<LLLineEditor>("grid_position_x")->setValue(LLSD((F32) grid_pos_x));
panel->getChild<LLLineEditor>("grid_position_y")->setValue(LLSD((F32) grid_pos_y));
panel->getChild<LLLineEditor>("estate_id")->setValue(LLSD::Integer(estate_id));
panel->getChild<LLLineEditor>("grid_position_x")->setValue(LLSD::Integer(grid_pos_x));
panel->getChild<LLLineEditor>("grid_position_y")->setValue(LLSD::Integer(grid_pos_y));
// </FS:Zi>
// DEBUG PANEL

View File

@ -95,7 +95,7 @@
right="-55"
name="grid_position_x"
top_delta="0"
initial_value="unknown"
default_text="n/a"
width="40" />
<line_editor
follows="right|top"
@ -105,7 +105,7 @@
right="-10"
name="grid_position_y"
top_delta="0"
initial_value="unknown"
default_text="n/a"
width="40" />
<text
follows="left|top"