diff options
| author | Luan Nutels - VolkSec <luannutels@gmail.com> | 2026-07-28 19:33:51 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-29 01:33:51 +0300 |
| commit | 6a0eccdb9fd1ceb3ccd1586570f9f39926bfbb06 (patch) | |
| tree | d4c918423cd9d1fdfe1197a907885420da702851 /indra/newview/llappviewer.cpp | |
| parent | 556964ab1d88c438a7109c9283b7c095bc6359e4 (diff) | |
#3703 Fix disabled HiDPI value in About floater
Diffstat (limited to 'indra/newview/llappviewer.cpp')
| -rw-r--r-- | indra/newview/llappviewer.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 5a1a4b8258..2d8e94fdda 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -3746,6 +3746,13 @@ std::string LLAppViewer::getViewerInfoString(bool default_string) const { args[ii->first] = LLTrans::getString("none_text", default_string); } + else if (ii->second.isBoolean()) + { + // LLSD intentionally renders false as an empty string to + // preserve string-to-boolean round trips. Viewer info is + // human-readable, so show both boolean states explicitly. + args[ii->first] = ii->second.asBoolean() ? "true" : "false"; + } else { // don't forget to render value asString() |
