js: fix contrived crash (closes #1516);

view textfile, sel, delete, sel, boom
This commit is contained in:
ed committed 2026-09-19 19:13:41 +00:00
1 parent 229159027b
commit 4d1f2a9301
1 file changed
+3
+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;
}