Skip to content

Commit

Permalink
add tip for ID in transactions panel
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeef committed Jan 6, 2025
1 parent f226e87 commit 1f8df59
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/mmchecking_list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,10 @@ void TransactionListCtrl::sortTable()
);
m_cp->m_header_sortOrder->SetLabelText(sortText);

if (m_real_columns[g_sortcol] == COL_SN || m_real_columns[prev_g_sortcol] == COL_SN) {
if (m_real_columns[g_sortcol] == COL_SN)
m_cp->showTips(_("SN (Sequence Number) has the same order as Date/ID."));
}
else if (m_real_columns[g_sortcol] == COL_ID)
m_cp->showTips(_("ID (identification number) is increasing with the time of creation in the database."));

RefreshItems(0, m_trans.size() - 1);
}
Expand Down

0 comments on commit 1f8df59

Please sign in to comment.