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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user