fix: Tier-3 feature gaps — transfer result screen + accurate RPC display

- Address-transfer dialog closed itself on submit (s_open=false the same frame),
  so its in-dialog result screen was dead code. Keep the dialog open on submit:
  s_sending drives the button to a disabled "Sending…" state, and the async
  callback's result (success txid / error) now shows in the result screen with
  its own Close button.
- Settings RPC connection editor was inert AND showed compile-time defaults.
  Populate Host/Port/Username/Password from the auto-detected daemon config
  (rpc::Connection::autoDetectConfig) and make the fields read-only — the RPC
  credentials come from the daemon's DRAGONX.conf, so these now accurately
  DISPLAY the live connection instead of pretending to be an editor (which did
  nothing). The existing "auto-detected" note now matches the behaviour.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-05 14:27:59 -05:00
parent b0cc6bcef4
commit 1dbbd44759
2 changed files with 16 additions and 3 deletions

View File

@@ -226,7 +226,9 @@ public:
Notifications::instance().error(result.empty() ? TR("transfer_failed") : result);
}
});
s_open = false;
// Keep the dialog OPEN on submit: s_sending drives the button to a disabled "Sending…"
// state, and when the async callback sets s_resultMsg the in-dialog result screen shows
// (with its own Close button). Previously closing here made that result screen dead code.
}
ImGui::EndDisabled();