diff options
author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-02-02 16:17:09 +0200 |
---|---|---|
committer | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-02-02 16:17:09 +0200 |
commit | 788ba76bdf5dcc0a018a6b53bc1cc8f359e85f34 (patch) | |
tree | 2b41d371becbea3b5a74f8a00a8735d7711638db /indra/newview/llfloaterperformance.cpp | |
parent | 0169e8cc976bd261a1d02d248eeed21a3e607201 (diff) |
SL-19094 Move Desired frame rate button to top level
Diffstat (limited to 'indra/newview/llfloaterperformance.cpp')
-rw-r--r-- | indra/newview/llfloaterperformance.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llfloaterperformance.cpp b/indra/newview/llfloaterperformance.cpp index ba45648bd9..5eb58b9482 100644 --- a/indra/newview/llfloaterperformance.cpp +++ b/indra/newview/llfloaterperformance.cpp @@ -151,6 +151,7 @@ BOOL LLFloaterPerformance::postBuild() LLStringExplicit fps_limit(llformat("%d", gViewerWindow->getWindow()->getRefreshRate())); mAutoadjustmentsPanel->getChild<LLTextBox>("vsync_desc_limit")->setTextArg("[FPS_LIMIT]", fps_limit); mAutoadjustmentsPanel->getChild<LLTextBox>("display_desc")->setTextArg("[FPS_LIMIT]", fps_limit); + mAutoadjustmentsPanel->getChild<LLButton>("defaults_btn")->setCommitCallback(boost::bind(&LLFloaterPerformance::onClickDefaults, this)); mStartAutotuneBtn = mAutoadjustmentsPanel->getChild<LLButton>("start_autotune"); mStopAutotuneBtn = mAutoadjustmentsPanel->getChild<LLButton>("stop_autotune"); |