Skip to content

Commit

Permalink
Fix error opening files with double click on windows os
Browse files Browse the repository at this point in the history
  • Loading branch information
cavearr committed Nov 9, 2024
1 parent f0676ee commit 276d524
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/scripts/services/project.js
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down

0 comments on commit 276d524

Please sign in to comment.