Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Commit

Permalink
fix delete frame undo (#43)
Browse files Browse the repository at this point in the history
Co-authored-by: Persune <54422576+Gumball2415@users.noreply.github.com>
  • Loading branch information
nyanpasu64 and Gumball2415 authored Mar 19, 2021
1 parent 17b76f9 commit c1f0842
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Source/FrameAction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ bool CFActionRemoveFrame::SaveState(const CMainFrame *pMainFrm)
void CFActionRemoveFrame::Undo(CMainFrame *pMainFrm) const
{
CFamiTrackerDoc *pDoc = static_cast<CFamiTrackerView*>(pMainFrm->GetActiveView())->GetDocument();
pDoc->InsertFrame(m_pUndoState->Track, m_pUndoState->Cursor.m_iFrame);
pMainFrm->GetFrameEditor()->PasteInsert(m_pUndoState->Track, m_pUndoState->Cursor.m_iFrame, m_pRowClipData);
}

Expand Down

0 comments on commit c1f0842

Please sign in to comment.