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