add a drives button
This commit is contained in:
parent
963ec94fd0
commit
3eb4e02690
1 changed files with 8 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue