FileDialog: fix compilation error for sys.io.File on non-sys desktop targets

This commit is contained in:
Josh Tynjala
2024-02-12 09:48:47 -08:00
parent 76437a3014
commit 458ee49fbd

View File

@@ -248,7 +248,7 @@ class FileDialog
**/
public function open(filter:String = null, defaultPath:String = null, title:String = null):Bool
{
#if desktop
#if (desktop && sys)
var worker = new BackgroundWorker();
worker.doWork.add(function(_)
@@ -318,7 +318,7 @@ class FileDialog
return false;
}
#if desktop
#if (desktop && sys)
var worker = new BackgroundWorker();
worker.doWork.add(function(_)