Skip to content
Permalink
Browse files

Make new window option from browser uri work

Ref: #2370
  • Loading branch information...
alejx committed May 5, 2019
1 parent d1cba30 commit 6ea359cc33035016bfbcc5dd3861557a1f814081
Showing with 3 additions and 3 deletions.
  1. +3 −3 iina/AppDelegate.swift
@@ -370,10 +370,10 @@ class AppDelegate: NSObject, NSApplicationDelegate {

// new_window
let player: PlayerCore
if let newWindowValue = queryDict["new_window"], newWindowValue == "0" {
player = PlayerCore.active
} else {
if let newWindowValue = queryDict["new_window"], newWindowValue == "1" {
player = PlayerCore.newPlayerCore
} else {
player = PlayerCore.active
}

// enqueue

0 comments on commit 6ea359c

Please sign in to comment.
You can’t perform that action at this time.