mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-05 18:47:52 +01:00
also show window if not visible
This commit is contained in:
parent
a631bd990a
commit
6789b8c8a2
@ -36,7 +36,7 @@ export class WindowMain {
|
||||
app.on('second-instance', (event, commandLine, workingDirectory) => {
|
||||
// Someone tried to run a second instance, we should focus our window.
|
||||
if (this.win != null) {
|
||||
if (this.win.isMinimized()) {
|
||||
if (this.win.isMinimized() || !this.win.isVisible()) {
|
||||
this.win.show();
|
||||
}
|
||||
this.win.focus();
|
||||
|
Loading…
Reference in New Issue
Block a user