fix copy of empty folders

This commit is contained in:
Chee Yee
2023-03-10 01:05:48 -08:00
parent 9a9308244c
commit 2975f736de
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1275,7 +1275,7 @@ namespace Actions
{
int err;
std::vector<DirEntry> entries = FS::ListDir(src.path, &err);
FS::MkDirs(dest, true);
FS::MkDirs(dest);
for (int i = 0; i < entries.size(); i++)
{
if (stop_activity)
+1 -1
View File
@@ -801,7 +801,7 @@ namespace Windows
ImVec4 *colors = style->Colors;
int flags;
if (ImGui::IsKeyDown(ImGuiKey_GamepadFaceUp))
if (ImGui::IsKeyDown(ImGuiKey_GamepadFaceUp) && !paused)
{
if (!paused)
saved_selected_browser = selected_browser;