Permalink
Browse files

Fix crash when trying to entering pip while already in pip

  • Loading branch information...
alejx committed Feb 8, 2019
1 parent 83a2f8c commit 2f96eb237069cd46ad7c9c475dfe5b924a94b749
Showing with 1 addition and 0 deletions.
  1. +1 −0 iina/MainWindowController.swift
@@ -2827,6 +2827,7 @@ class MainWindowController: NSWindowController, NSWindowDelegate {
extension MainWindowController: PIPViewControllerDelegate {

func enterPIP() {
guard pipStatus != .inPIP else { return }
pipStatus = .inPIP
showUI()

0 comments on commit 2f96eb2

Please sign in to comment.