From 3eb4e02690293c9568edc7ed9fcdbc2523bd3d47 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Sat, 27 Sep 2025 15:01:23 -0500 Subject: [PATCH] add a drives button --- src/gui/newFilePicker.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/gui/newFilePicker.cpp b/src/gui/newFilePicker.cpp index 83de7313f..79364ee6a 100644 --- a/src/gui/newFilePicker.cpp +++ b/src/gui/newFilePicker.cpp @@ -657,6 +657,14 @@ bool FurnaceFilePicker::draw() { } #endif } +#ifdef _WIN32 + // drives button only on Windows + ImGui::SameLine(); + if (ImGui::Button(ICON_FA_HDD_O "##DriveList")) { + newDir=""; + readDrives=true; + } +#endif ImGui::SameLine(); if (ImGui::Button(ICON_FA_PENCIL "##EditPath")) { editablePath=path;