Skip to content

Commit

Permalink
Merge pull request #3955 from whalley/master
Browse files Browse the repository at this point in the history
feat(#3948): after recurring select next entry
  • Loading branch information
vomikan committed Oct 28, 2021
2 parents ef877f4 + dcbf498 commit 8337d24
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/billsdepositspanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,11 @@ void billsDepositsListCtrl::OnEnterBDTransaction(wxCommandEvent& /*event*/)
int id = m_bdp->bills_[m_selected_row].BDID;
mmBDDialog dlg(this, id, false, true);
if ( dlg.ShowModal() == wxID_OK )
{
if (++m_selected_row < m_bdp->bills_.size())
id = m_bdp->bills_[m_selected_row].BDID;
refreshVisualList(m_bdp->initVirtualListControl(id));
}
}

void billsDepositsListCtrl::OnSkipBDTransaction(wxCommandEvent& /*event*/)
Expand All @@ -675,6 +679,8 @@ void billsDepositsListCtrl::OnSkipBDTransaction(wxCommandEvent& /*event*/)

int id = m_bdp->bills_[m_selected_row].BDID;
Model_Billsdeposits::instance().completeBDInSeries(id);
if (++m_selected_row < m_bdp->bills_.size())
id = m_bdp->bills_[m_selected_row].BDID;
refreshVisualList(m_bdp->initVirtualListControl(id));
}

Expand Down

0 comments on commit 8337d24

Please sign in to comment.