Try to update window title

This commit is contained in:
Skyler Lehmkuhl
2024-12-22 05:33:06 -05:00
parent 21d42f2ce2
commit 0dc791bbba
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -2553,6 +2553,8 @@ async function _open(path) {
}
lastSaveIndex = undoStack.length;
filePath = path
// Tauri thinks it is setting the title here, but it isn't getting updated
await getCurrentWindow().setTitle(await basename(filePath))
addRecentFile(path)
updateUI()
} else {