From 553e3f84ab411b90c7305ca0530c2640412d5c44 Mon Sep 17 00:00:00 2001
From: Mark Olesen <Mark.Olesen@esi-group.com>
Date: Wed, 24 Jan 2018 20:45:59 +0100
Subject: [PATCH] BUG: timeControlFunctionObject swallows dictionary
 modifications (closes #716)

- runTimeModifiable change to the dictionary not being propagated to
  the underlying functionObjects
---
 .../db/functionObjects/timeControl/timeControlFunctionObject.C | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/OpenFOAM/db/functionObjects/timeControl/timeControlFunctionObject.C b/src/OpenFOAM/db/functionObjects/timeControl/timeControlFunctionObject.C
index 344899ee93d..c1c2e26c0e5 100644
--- a/src/OpenFOAM/db/functionObjects/timeControl/timeControlFunctionObject.C
+++ b/src/OpenFOAM/db/functionObjects/timeControl/timeControlFunctionObject.C
@@ -193,7 +193,8 @@ bool Foam::functionObjects::timeControl::read
         executeControl_.read(dict);
         readControls();
 
-        return true;
+        // Forward to underlying function object
+        return foPtr_->read(dict);
     }
     else
     {
-- 
GitLab