diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llfloatertools.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/newview/llfloatertools.cpp b/linden/indra/newview/llfloatertools.cpp index 7a9efcb..f6f09b1 100644 --- a/linden/indra/newview/llfloatertools.cpp +++ b/linden/indra/newview/llfloatertools.cpp | |||
@@ -1056,7 +1056,9 @@ void click_apply_to_selection(void* user) | |||
1056 | 1056 | ||
1057 | void commit_select_tool(LLUICtrl *ctrl, void *data) | 1057 | void commit_select_tool(LLUICtrl *ctrl, void *data) |
1058 | { | 1058 | { |
1059 | S32 show_owners = gSavedSettings.getBOOL("ShowParcelOwners"); | 1059 | static BOOL* sShowParcelOwners = rebind_llcontrol<BOOL>("ShowParcelOwners", &gSavedSettings, true); |
1060 | |||
1061 | S32 show_owners = *sShowParcelOwners; | ||
1060 | gFloaterTools->setEditTool(data); | 1062 | gFloaterTools->setEditTool(data); |
1061 | gSavedSettings.setBOOL("ShowParcelOwners", show_owners); | 1063 | gSavedSettings.setBOOL("ShowParcelOwners", show_owners); |
1062 | } | 1064 | } |