Skip to content

Commit

Permalink
Fix issue #2374: Folder comparison status not accurately reflected in…
Browse files Browse the repository at this point in the history
… toolbar (2)
  • Loading branch information
sdottaka committed Jul 7, 2024
1 parent acd563f commit 10caef5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Src/DirView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -930,8 +930,6 @@ void CDirView::DoDirAction(DirActions::method_type func, const String& status_me
ASSERT(rsltScript == &actionScript);
// Now we prompt, and execute actions
ConfirmAndPerformActions(actionScript);
m_firstDiffItem.reset();
m_lastDiffItem.reset();
} catch (ContentsChangedException& e) {
AfxMessageBox(e.m_msg.c_str(), MB_ICONWARNING);
} catch (FileOperationException& e) {
Expand Down Expand Up @@ -1024,6 +1022,8 @@ void CDirView::PerformActionList(FileActionScript & actionScript)
theApp.RemoveOperation();
if (!succeeded && !actionScript.IsCanceled())
throw FileOperationException(_T("File operation failed"));
m_firstDiffItem.reset();
m_lastDiffItem.reset();
}

/**
Expand Down

0 comments on commit 10caef5

Please sign in to comment.