Skip to content

Commit

Permalink
[Fix] Keyboard entry broke in several pattern columns in r21919 (http…
Browse files Browse the repository at this point in the history
  • Loading branch information
sagamusix committed Oct 26, 2024
1 parent 02bf3b8 commit fd0fdb0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mptrack/View_pat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4994,6 +4994,7 @@ void CViewPattern::TempEnterVol(int v)
if(m != target)
{
PrepareUndo(m_Cursor, m_Cursor, "Volume Entry");
target = m;
SetModified(false);
InvalidateCell(m_Cursor);
UpdateIndicator();
Expand Down Expand Up @@ -5125,6 +5126,7 @@ void CViewPattern::TempEnterFXparam(int v)
if(m != target)
{
PrepareUndo(m_Cursor, m_Cursor, "Parameter Entry");
target = m;
SetModified(false);
InvalidateCell(m_Cursor);
UpdateIndicator();
Expand Down Expand Up @@ -5406,6 +5408,7 @@ void CViewPattern::TempEnterIns(int val)
if(m != target)
{
PrepareUndo(m_Cursor, m_Cursor, "Instrument Entry");
target = m;
SetModified(false);
InvalidateCell(m_Cursor);
UpdateIndicator();
Expand Down

0 comments on commit fd0fdb0

Please sign in to comment.