js: fix contrived crash (closes #1516);

view textfile, sel, delete, sel, boom
This commit is contained in:
ed
2026-09-19 19:13:41 +00:00
parent 229159027b
commit 4d1f2a9301
+3
View File
@@ -4601,6 +4601,9 @@ var fileman = (function () {
if (err !== 'xbd')
toast.ok(2, L.fd_ok);
if (QS('#seldoc.sel'))
thegrid.setvis(true);
treectl.goto();
return;
}