diff --git a/src/ui/windows/wallets_dialog.h b/src/ui/windows/wallets_dialog.h index 118c62e..a16b207 100644 --- a/src/ui/windows/wallets_dialog.h +++ b/src/ui/windows/wallets_dialog.h @@ -245,8 +245,10 @@ public: ImGui::Dummy(ImVec2(0, Layout::spacingSm())); // ---- Scan another folder — always visible, full-width, opens the in-app folder picker - + // Start in the DRAGONX data directory (where the datadir wallets live) so the user can + // navigate up/out from a familiar anchor to find wallets in other folders. if (StyledButton(TR("wallets_scan_folder"), ImVec2(listW, 0))) { - FolderPicker::open("", [app](const std::string& dir) { + FolderPicker::open(util::Platform::getDragonXDataDir(), [app](const std::string& dir) { std::error_code ec; if (!dir.empty() && std::filesystem::is_directory(dir, ec)) { if (app->walletIndex().addExtraFolder(dir)) app->walletIndex().save();