OSDN Git Service

DirView.cpp: Could not copy files in DirView
authorsdottaka <sdottaka@users.sourceforge.net>
Sun, 8 Feb 2015 16:17:04 +0000 (01:17 +0900)
committersdottaka <sdottaka@users.sourceforge.net>
Sun, 8 Feb 2015 16:17:04 +0000 (01:17 +0900)
Src/DirView.cpp

index 6ee83c0..5c144c3 100644 (file)
@@ -861,7 +861,8 @@ void CDirView::ConfirmAndPerformActions(FileActionScript & actionList)
                dlg.m_toText = e.m_toText;
                dlg.m_fromPath = e.m_fromPath;
                dlg.m_toPath = e.m_toPath;
-               if (dlg.DoModal() != IDOK)
+               INT_PTR ans = dlg.DoModal();
+               if (ans != IDOK && ans != IDYES)
                        return;
        }
        PerformActionList(actionList);