Update Krom calls

This commit is contained in:
luboslenco
2019-05-02 21:10:30 +02:00
parent 302396865d
commit 8279d7039c
+2 -2
View File
@@ -316,9 +316,9 @@ class App extends iron.Trait {
static function renderFiles(g:kha.graphics2.Graphics) {
// Krom with native file dialogs
if (untyped Krom.openFileDialog != null) {
if (untyped Krom.openDialog != null) {
showFiles = false;
path = untyped foldersOnly ? Krom.saveFileDialog() : Krom.openFileDialog();
path = untyped foldersOnly ? Krom.saveDialog() : Krom.openDialog();
if (path != null) {
path = StringTools.replace(path, "\\\\", "\\");
path = StringTools.replace(path, "\r", "");