From e91620d17f7b70c4de99fc24256b8977acfc60b0 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Fri, 22 Jun 2018 17:11:40 +0300 Subject: [PATCH] fix(operation) set next file current when can not delete --- client/modules/operation/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/modules/operation/index.js b/client/modules/operation/index.js index 2495804f..f01ebcd5 100644 --- a/client/modules/operation/index.js +++ b/client/modules/operation/index.js @@ -270,6 +270,8 @@ function deleteSilent(files = DOM.getActiveFiles()) { const Storage = DOM.Storage; const dirPath = Info.dirPath; + DOM.setCurrentByName(prevCurrent); + !e && CloudCmd.refresh({ currentName });