Summary: | CSV importer: Opposite signs option not read from banking profile | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Mark <mark> |
Component: | importer | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 5.0.1 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kmymoney/c21f3048ad686981352686b8d2da58e5c326278a | Version Fixed In: | 5.0.3 |
Sentry Crash Report: |
Description
Mark
2018-12-16 14:46:42 UTC
Bug traced to BankingProfile::readSettings() in kmymoney/plugins/csv/import/core/csvimportercore.cpp : - m_oppositeSigns = profilesGroup.readEntry(CSVImporterCore::m_miscSettingsConfName.value(ConfOppositeSigns), 0); + m_oppositeSigns = profilesGroup.readEntry(CSVImporterCore::m_miscSettingsConfName.value(ConfOppositeSigns), false); Git commit c21f3048ad686981352686b8d2da58e5c326278a by Thomas Baumgart. Committed on 18/12/2018 at 21:00. Pushed by tbaumgart into branch '5.0'. Correctly read opposite signs option from banking profile The "Opposite signs" checkbox is not being initialized from the value stored in the Banking profile in csvimporterrc. The value is stored correctly in csvimporterrc as OppositeSigns=true but the checkbox is always unchecked when the profile is re-used. This change fixes the problem. Thanks to Mark for providing the fix. FIXED-IN: 5.0.3 M +1 -1 kmymoney/plugins/csv/import/core/csvimportercore.cpp https://commits.kde.org/kmymoney/c21f3048ad686981352686b8d2da58e5c326278a |