Browse Source

Fixed OpenOpen fiber issue.

Mark Sibly 9 years ago
parent
commit
00013f3a2f
1 changed files with 1 additions and 8 deletions
  1. 1 8
      src/ted2/fileactions.monkey2

+ 1 - 8
src/ted2/fileactions.monkey2

@@ -176,14 +176,7 @@ Class FileActions
 		
 	Method OnOpen()
 	
-		Local future:=New Future<String>
-		
-		App.Idle+=Lambda()
-			Local path:=MainWindow.RequestFile( "Open file...","",False )
-			future.Set( path )
-		End
-		
-		Local path:=future.Get()
+		Local path:=MainWindow.RequestFile( "Open file...","",False )
 		If Not path Return
 		
 		path=RealPath( path )