diff options
| author | simon <simon@lindenlab.com> | 2024-01-03 01:34:58 +0000 | 
|---|---|---|
| committer | simon <simon@lindenlab.com> | 2024-01-03 01:34:58 +0000 | 
| commit | 520f710cd6b5826403383f8c3488a94c64ac8081 (patch) | |
| tree | 3936a248d991e11b82768ff10a5079789299bb53 /indra/llui/llurlregistry.cpp | |
| parent | d4c3300f9b81296f765c83c1e822251e86d91925 (diff) | |
| parent | a592292242e29d0379ee72572a434359e1e892d1 (diff) | |
Merge remote-tracking branch 'origin/main' into simon/sl-20635-new-data
Diffstat (limited to 'indra/llui/llurlregistry.cpp')
| -rw-r--r-- | indra/llui/llurlregistry.cpp | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/indra/llui/llurlregistry.cpp b/indra/llui/llurlregistry.cpp index 23f3dca3fb..3bd7321777 100644 --- a/indra/llui/llurlregistry.cpp +++ b/indra/llui/llurlregistry.cpp @@ -73,6 +73,8 @@ LLUrlRegistry::LLUrlRegistry()  	registerUrl(new LLUrlEntryPlace());  	registerUrl(new LLUrlEntryInventory());      registerUrl(new LLUrlEntryExperienceProfile()); +    mUrlEntryKeybinding = new LLUrlEntryKeybinding(); +    registerUrl(mUrlEntryKeybinding);  	//LLUrlEntrySL and LLUrlEntrySLLabel have more common pattern,   	//so it should be registered in the end of list  	registerUrl(new LLUrlEntrySL()); @@ -307,3 +309,9 @@ bool LLUrlRegistry::isUrl(const LLWString &text)  	}  	return false;  } + +void LLUrlRegistry::setKeybindingHandler(LLKeyBindingToStringHandler* handler) +{ +    LLUrlEntryKeybinding *entry = (LLUrlEntryKeybinding*)mUrlEntryKeybinding; +    entry->setHandler(handler); +} | 
