From fbe02e5a365cb4df9c4254601f0202ae5641db2e Mon Sep 17 00:00:00 2001 From: David Sleeckx Date: Fri, 17 Feb 2017 10:52:24 +0100 Subject: [PATCH] Fixed refresh from result after action --- src/Libs/Vidyano/vidyano.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Libs/Vidyano/vidyano.ts b/src/Libs/Vidyano/vidyano.ts index 144f4a09..d7218edc 100644 --- a/src/Libs/Vidyano/vidyano.ts +++ b/src/Libs/Vidyano/vidyano.ts @@ -2245,6 +2245,9 @@ namespace Vidyano { } refreshFromResult(result: PersistentObject, resultWins: boolean = false) { + if (result instanceof PersistentObject) + result = result._lastResult; + this._lastResult = result; const changedAttributes: PersistentObjectAttribute[] = [];