From f71f00acccb8d6b9659add49ac4e3ec93104058b Mon Sep 17 00:00:00 2001 From: Nitesh Kumar <38075523+niteskum@users.noreply.github.com> Date: Fri, 27 Mar 2020 16:26:06 +0530 Subject: [PATCH] Merge pull request #15106 from niteskum/AssociateGraphicAfterGUIDGenerated Graphics File Associate workflow should get triggered after UUID is generated --- .../default/OpenWithExternalApplication/GraphicsFile.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/extensions/default/OpenWithExternalApplication/GraphicsFile.js b/src/extensions/default/OpenWithExternalApplication/GraphicsFile.js index d8ac00ce077..1ffc72c1173 100644 --- a/src/extensions/default/OpenWithExternalApplication/GraphicsFile.js +++ b/src/extensions/default/OpenWithExternalApplication/GraphicsFile.js @@ -72,6 +72,13 @@ define(function (require, exports, module) { return; } + var userUuid = PreferencesManager.getViewState("UUID"), + olderUuid = PreferencesManager.getViewState("OlderUUID"); + + if(!(userUuid || olderUuid)) { + return; + } + _nodeDomain.exec("checkFileTypesInFolder", { extensions: _graphicsFileTypes.join(), folder: ProjectManager.getProjectRoot().fullPath,