Merge branch 'upcoming' of https://github.com/ciderapp/Cider into upcoming
This commit is contained in:
commit
3a2b57f3b3
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ export default class MinimizeToTray {
|
||||||
})
|
})
|
||||||
this._win.on("close", (e :any) => {
|
this._win.on("close", (e :any) => {
|
||||||
if (this._forceQuit || this._store.general["close_behavior"] == '0' ) {
|
if (this._forceQuit || this._store.general["close_behavior"] == '0' ) {
|
||||||
this._app.exit();
|
this._app.quit();
|
||||||
} else if (this._store.general["close_behavior"] == '1') {
|
} else if (this._store.general["close_behavior"] == '1') {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
this._win.minimize();
|
this._win.minimize();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue