From 276d52449e7591fcc94dc12a6cbb4614b3a786cf Mon Sep 17 00:00:00 2001 From: Carlos Venegas Date: Sun, 10 Nov 2024 00:04:39 +0100 Subject: [PATCH] Fix error opening files with double click on windows os --- app/scripts/services/project.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/scripts/services/project.js b/app/scripts/services/project.js index 438db25f..0a8f97b5 100644 --- a/app/scripts/services/project.js +++ b/app/scripts/services/project.js @@ -59,9 +59,10 @@ angular.module('icestudio') this.open = function (filepath, emptyPath) { let _this=this; utils.beginBlockingTask(); - //setTimeout(function(){ + //-- Timeout needed in windows systems + setTimeout(function(){ _this._decoupledOpen(filepath,emptyPath); - // },200); + },500); }; this._decoupledOpen = function(filepath,emptyPath){