mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[assistant-stock-txn] clear warnings/errors/infos before preparing last page
otherwise the messages will accumulate when nagivating back to the last page.
This commit is contained in:
parent
fa3043a631
commit
165fcce8f5
@ -935,6 +935,9 @@ StockAssistantModel::generate_list_of_splits() {
|
||||
if (!m_txn_types || !m_txn_type)
|
||||
return { false, "Error: txn_type not initialized", {} };
|
||||
|
||||
m_warnings.clear();
|
||||
m_errors.clear();
|
||||
m_infos.clear();
|
||||
m_list_of_splits.clear();
|
||||
|
||||
gnc_numeric debit = gnc_numeric_zero ();
|
||||
|
Loading…
Reference in New Issue
Block a user