Bugfix: window title shouldn't be stuck on 'Preferences'
This commit is contained in:
@@ -358,6 +358,7 @@ function dispatch (action, ...args) {
|
|||||||
onbeforeunload: function (cb) {
|
onbeforeunload: function (cb) {
|
||||||
// save state after preferences
|
// save state after preferences
|
||||||
savePreferences()
|
savePreferences()
|
||||||
|
state.window.title = config.APP_WINDOW_TITLE
|
||||||
cb()
|
cb()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user