Skip to content

Commit c9df8dc

Browse files
committed
auto save bug fix
1 parent d08b63e commit c9df8dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/js/keyIpcTrigger.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ class AutoSaveUtil {
204204

205205
setTimeOut = (val) => {
206206
this.timeOut = parseInt(val)
207+
store.set('autosave', this.timeOut)
207208
this.autoSaveMenuItems.forEach(e => { e.checked = false })
208209
this.autoSaveMenuItems[{ 0: 0, 1: 1, 5: 2, 10: 3 }[this.timeOut]].checked = true
209210
this.resetReminder()

0 commit comments

Comments
 (0)