Skip to content

Commit

Permalink
DirActions.h: [Copy/Left to ...] or [Copy/Right to...] menu item did …
Browse files Browse the repository at this point in the history
…not work properly
  • Loading branch information
sdottaka committed Dec 29, 2015
1 parent 59ef77f commit a46df61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/DirActions.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a46df61

Please sign in to comment.