From d40a0c750d184a71f269dc18a4c354e654de5693 Mon Sep 17 00:00:00 2001 From: Alberto Griggio Date: Mon, 6 Mar 2017 17:56:10 +0100 Subject: [PATCH] print loading/saving dynamic profile messages only in verbose mode (forgot one from previous commit) --- rtgui/dynamicprofilepanel.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rtgui/dynamicprofilepanel.cc b/rtgui/dynamicprofilepanel.cc index d06f9be4f..e5f9ae1cc 100644 --- a/rtgui/dynamicprofilepanel.cc +++ b/rtgui/dynamicprofilepanel.cc @@ -526,6 +526,8 @@ void DynamicProfilePanel::save() printf("Error in saving dynamic profile rules\n"); } else { profileStore.setDynamicProfileRules(rules); - printf("Saved %d dynamic profile rules\n", int(rules.size())); + if (options.rtSettings.verbose) { + printf("Saved %d dynamic profile rules\n", int(rules.size())); + } } }