From 3523208b3cad5c0bab9cd78ea372a3498adeaff6 Mon Sep 17 00:00:00 2001 From: Fellippe Heitor Date: Sun, 25 Jul 2021 22:20:28 -0300 Subject: [PATCH] Fixes navigation (file dialog) --- source/ide/ide_methods.bas | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/source/ide/ide_methods.bas b/source/ide/ide_methods.bas index dccfaca12..0de2d6ff1 100644 --- a/source/ide/ide_methods.bas +++ b/source/ide/ide_methods.bas @@ -9205,13 +9205,10 @@ FUNCTION idefiledialog$(programname$, mode AS _BYTE) IF focus = 3 THEN IF (K$ = CHR$(13) OR info = 1) AND o(3).sel >= 1 THEN - path$ = idezchangepath(path$, idetxt(o(3).stx)) - idetxt(o(2).txt) = idezfilelist$(path$, AllFiles, "") - idetxt(o(3).txt) = idezpathlist$(path$) - - o(2).sel = -1 - o(3).sel = -1 - GOTO ideopenloop + newpath$ = idetxt(o(3).stx) + IF newpath$ = "" THEN newpath$ = ".." + f$ = newpath$ + GOTO changepath END IF END IF