[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [skrooge] plugins/skrooge/skrooge_importexport: The option "Import only operations since the last im
From:       Stephane Mankowski <null () kde ! org>
Date:       2017-07-31 21:22:52
Message-ID: E1dcI9M-00083l-8h () code ! kde ! org
[Download RAW message or body]

Git commit 26cdc40f4b9e2fd86b0ba06124a3b919152440b2 by Stephane Mankowski.
Committed on 31/07/2017 at 21:22.
Pushed by smankowski into branch 'master'.

The option "Import only operations since the last imported one" must not be=
 applied with backend import

M  +2    -1    plugins/skrooge/skrooge_importexport/skgimportexportplugin.c=
pp

https://commits.kde.org/skrooge/26cdc40f4b9e2fd86b0ba06124a3b919152440b2

diff --git a/plugins/skrooge/skrooge_importexport/skgimportexportplugin.cpp=
 b/plugins/skrooge/skrooge_importexport/skgimportexportplugin.cpp
index 480de6c9..161a5af0 100644
--- a/plugins/skrooge/skrooge_importexport/skgimportexportplugin.cpp
+++ b/plugins/skrooge/skrooge_importexport/skgimportexportplugin.cpp
@@ -431,7 +431,8 @@ SKGError SKGImportExportPlugin::importbackends()
             imp1.setImportParameters(parameters);
             imp1.setAutomaticValidation(skgimportexport_settings::automati=
c_validation());
             imp1.setAutomaticApplyRules(skgimportexport_settings::apply_ru=
les());
-            // This option is not used with backend import: imp1.setSinceL=
astImportDate(skgimportexport_settings::since_last_import());
+            // This option is not used with backend import
+            imp1.setSinceLastImportDate(false);
             imp1.setCodec(codec);
             IFOKDO(err, imp1.importFile())
             IFOKDO(err, m_currentBankDocument->stepForward(i + 1))
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic