Skip to content

Commit

Permalink
Add delayed auto-refresh to versions window. (when a file operation h…
Browse files Browse the repository at this point in the history
…appens/ed)
  • Loading branch information
jtsage committed Nov 4, 2022
1 parent 89d6f81 commit 42cc2dc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion modAssist_main.js
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,12 @@ ipcMain.on('toMain_copyMods', (event, mods) => { createConfirmWindow('copy
ipcMain.on('toMain_realFileDelete', (event, fileMap) => { fileOperation('delete', fileMap) })
ipcMain.on('toMain_realFileMove', (event, fileMap) => { fileOperation('move', fileMap) })
ipcMain.on('toMain_realFileCopy', (event, fileMap) => { fileOperation('copy', fileMap) })
ipcMain.on('toMain_realFileVerCP', (event, fileMap) => { fileOperation('copy', fileMap, 'resolve') })
ipcMain.on('toMain_realFileVerCP', (event, fileMap) => {
fileOperation('copy', fileMap, 'resolve')
setTimeout(() => {
windows.version.webContents.send('fromMain_modList', modList)
}, 1500)
})
/** END: File operation buttons */


Expand Down

0 comments on commit 42cc2dc

Please sign in to comment.