OSDN Git Service

DirActions.h: [Copy/Left to ...] or [Copy/Right to...] menu item did not work properly
authorsdottaka <sdottaka@users.sourceforge.net>
Tue, 29 Dec 2015 12:36:26 +0000 (21:36 +0900)
committersdottaka <sdottaka@users.sourceforge.net>
Tue, 29 Dec 2015 12:36:26 +0000 (21:36 +0900)
Src/DirActions.h

index c35c248..128ff83 100644 (file)
@@ -434,7 +434,7 @@ struct DirActions
                const int index = SideToIndex(m_ctxt, src);
                const DIFFITEM& di = *it.second;
 
-               if (di.diffcode.diffcode != 0 && IsItemCopyable(di, index) && 
+               if (di.diffcode.diffcode != 0 && di.diffcode.exists(index) &&
                        (atype == FileAction::ACT_MOVE ? (!m_RO[index] && IsItemDeletable(di, index)) : true))
                {
                        FileActionItem act;