Bug Fixed: Trading System Marked as Running when loaded from strategizer

This commit is contained in:
Luis Fernando Molina committed 2019-05-25 10:21:37 +02:00
1 parent 2046a96dc5
commit e05085b8ed
1 file changed
+2
+2
View File
@@ -50,6 +50,8 @@ function newWorkspace () {
}
rootNodes.push(adaptedTradingSystem)
generateStrategyParts(adaptedTradingSystem)
thisObject.tradingSystem = adaptedTradingSystem
thisObject.tradingSystem.payload.uiObject.setRunningStatus()
} else {
rootNodes = JSON.parse(savedWorkspace)
for (let i = 0; i < rootNodes.length; i++) {