handle blur in preference window
This commit is contained in:
parent
c285f5bee1
commit
d60baa4da0
@ -21,6 +21,9 @@ function showPreferences_int(){
|
||||
// when you should delete the corresponding element.
|
||||
preferencesWindow = null
|
||||
})
|
||||
preferencesWindow.on('blur',() => {
|
||||
preferencesWindow.close();
|
||||
})
|
||||
}
|
||||
}
|
||||
module.exports.showPreferences = function(){
|
||||
|
Reference in New Issue
Block a user