Skip to content

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

Update file opener title

Borislav Sapundzhiev3ee26732c133
diff --git a/data/js/perspective.manager.js b/data/js/perspective.manager.js
index 114e5d2a4..e44553f44 100644
--- a/data/js/perspective.manager.js
+++ b/data/js/perspective.manager.js
@@ -149,7 +149,7 @@ define(function(require, exports, module) {
var updateFileUI = function(oldFilePath, newFilePath) {
console.log('Updating file in perspectives');
- if (TSCORE.FileOpener.getOpenedFilePath() === oldFilePath && !TSCORE.FileOpener.isFileEdited) {
+ if (TSCORE.FileOpener.getOpenedFilePath() === oldFilePath && !TSCORE.FileOpener.isFileEdited()) {
TSCORE.FileOpener.openFile(newFilePath);
}