mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Csv Tx Imp Props - don't reset multi column property errors by default
This would mask errors encountered in previous columns.
This commit is contained in:
parent
88fd034f89
commit
81e17531b9
@ -557,8 +557,9 @@ void GncPreSplit::add (GncTransPropType prop_type, const std::string& value)
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// Drop any existing error for the prop_type we're about to add to
|
/* Don't try to add to a property that has an error already */
|
||||||
m_errors.erase(prop_type);
|
if (m_errors.find(prop_type) != m_errors.cend())
|
||||||
|
return;
|
||||||
|
|
||||||
auto num_val = GncNumeric();
|
auto num_val = GncNumeric();
|
||||||
switch (prop_type)
|
switch (prop_type)
|
||||||
|
Loading…
Reference in New Issue
Block a user