Skip to content

TagSpaces is an offline, open source, document manager with tagging support

Clearing the selection on file rename

Ilian644a346d2a5e
diff --git a/data/js/postioapi.js b/data/js/postioapi.js
index 2692b059f..6b6eb1f9f 100644
--- a/data/js/postioapi.js
+++ b/data/js/postioapi.js
@@ -48,7 +48,8 @@ define(function(require, exports, module) {
TSCORE.updateFileModel(TSCORE.fileList, oldFilePath, newFilePath);
TSCORE.PerspectiveManager.updateFileUI(oldFilePath, newFilePath);
}
- TSCORE.hideLoadingAnimation();
+ TSCORE.hideLoadingAnimation();
+ TSCORE.PerspectiveManager.clearSelectedFiles();
};
exports.loadTextFile = function(content) {