()
| 526 | } |
| 527 | |
| 528 | destroyAndFocusMulti () { |
| 529 | this.multiWin = this.multiWin.filter((x) => !x.isDestroyed()) |
| 530 | if ( this.isValid('main') ) { |
| 531 | if ( !this.isVisible('main') && this.isValid('mini') && this.isVisible('mini') ) { |
| 532 | this.win.mini.focus() |
| 533 | } else { |
| 534 | this.win.main.focus() |
| 535 | } |
| 536 | } |
| 537 | } |
| 538 | |
| 539 | /** |
| 540 | * Send a command to a window (unsafe, no checks) |
no test coverage detected