From 5320ef06605f04069da8230723710ab0deeb004f Mon Sep 17 00:00:00 2001 From: Martchus Date: Tue, 20 Feb 2018 21:36:15 +0100 Subject: [PATCH] cli: Gather notifications also in the error case --- CMakeLists.txt | 2 +- cli/mainfeatures.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0442475..d535674 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,7 @@ set(META_GUI_OPTIONAL true) set(META_JS_SRC_DIR renamingutility) set(META_VERSION_MAJOR 2) set(META_VERSION_MINOR 3) -set(META_VERSION_PATCH 3) +set(META_VERSION_PATCH 4) set(META_NO_TIDY ON) # add project files diff --git a/cli/mainfeatures.cpp b/cli/mainfeatures.cpp index 7082e99..0772714 100644 --- a/cli/mainfeatures.cpp +++ b/cli/mainfeatures.cpp @@ -689,7 +689,6 @@ void setTagInfo(const SetTagInfoArgs &args) // apply changes and gather notifications fileInfo.applyChanges(); - fileInfo.gatherRelatedNotifications(notifications); // notify about completion finalizeLog(); @@ -711,6 +710,7 @@ void setTagInfo(const SetTagInfoArgs &args) cerr << " - " << Phrases::Error << "An IO failure occured when reading/writing the file \"" << file << "\"." << Phrases::EndFlush; } + fileInfo.gatherRelatedNotifications(notifications); printNotifications(notifications, "Notifications:", args.verboseArg.isPresent()); // continue with next file