🔄 Watch selectedFile changes to trigger file loading

This commit is contained in:
2026-01-28 20:06:34 +00:00
parent 65a8d64666
commit 8ca0c4b68c

View File

@@ -422,6 +422,13 @@ useKeyboardShortcuts({
}
});
// Watch selectedFile changes to load the file
watch(selectedFile, (newFile) => {
if (newFile) {
loadFile();
}
});
// Methods
async function loadStatus() {
try {