Skip to content

Commit

Permalink
fix(moneymanagerex#6935): use constant for right click filter type
Browse files Browse the repository at this point in the history
  • Loading branch information
n-stein committed Oct 25, 2024
1 parent 1ef0aa8 commit fc0580d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mmchecking_list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ void TransactionListCtrl::findInAllTransactions(wxCommandEvent&) {
// save the filter as the "Advanced" filter for All Transactions
Model_Infotable::instance().Set("CHECK_FILTER_ID_ADV_-1", rightClickFilter_);
// set All Transactions to use the "Advanced" filter
Model_Infotable::instance().Set("CHECK_FILTER_ID_-1", wxString("{\n\"FILTER\": \"" + VIEW_TRANS_FILTER_DIALOG_STR + "\"\n}"));
Model_Infotable::instance().Set("CHECK_FILTER_ID_-1", "{\n\"FILTER\": \"" + VIEW_TRANS_FILTER_DIALOG_STR + "\"\n}");
// Navigate to the All Transactions panel
wxTreeItemId currentId = m_cp->m_frame->GetNavTreeSelection();
m_cp->m_frame->setNavTreeSection(wxTRANSLATE("All Transactions"));
Expand Down

0 comments on commit fc0580d

Please sign in to comment.