작업 디렉토리를 불러왔을 때, 디렉토리명이 기본 파일명이 되도록 수정

This commit is contained in:
2026-05-14 15:48:52 +09:00
parent 0a82ab1b7b
commit 0971b58136
+4
View File
@@ -72,6 +72,10 @@ async function openFolder() {
state.files.push(...list);
state.selectedIdxs.clear();
setStatus(`${state.files.length}개 파일 로드됨`, true);
const folderName = folder.replace(/\\/g, '/').split('/').pop();
if (folderName) inputPrefix.value = folderName;
renderGrid();
updatePreview();
btnRename.disabled = false;