Check for missing download path

Fixes #646
This commit is contained in:
DC
2016-08-12 20:54:57 -07:00
parent 09d6fa550a
commit 1ec305162e
5 changed files with 59 additions and 13 deletions

View File

@@ -1,4 +1,5 @@
const State = require('../lib/state')
const {dispatch} = require('../lib/dispatcher')
const ipcRenderer = require('electron').ipcRenderer
// Controls the Preferences screen
@@ -50,5 +51,6 @@ module.exports = class PrefsController {
}
state.saved.prefs = Object.assign(state.saved.prefs || {}, state.unsaved.prefs)
State.save(state)
dispatch('checkDownloadPath')
}
}