Skip to content

Commit

Permalink
Fixes #73
Browse files Browse the repository at this point in the history
Really, I'm not even gonna comment this commit. So stupid bug.
  • Loading branch information
thomassnielsen committed Apr 22, 2015
1 parent 86ab4a2 commit 12fbf9d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Ember Hearth/MainSplitViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ class MainSplitViewController: NSSplitViewController {
rightView?.addConstraints(NSLayoutConstraint.constraintsWithVisualFormat("|-0-[overlay]-0-|", options: nil, metrics: nil, views: ["overlay":overlay]))
rightView?.addConstraints(NSLayoutConstraint.constraintsWithVisualFormat("V:|-0-[overlay]-0-|", options: nil, metrics: nil, views: ["overlay":overlay]))

NSNotificationCenter.defaultCenter().removeObserver(self)
NSNotificationCenter.defaultCenter().addObserver(self, selector: "showOverlay:", name: "dragEntered", object: nil)
NSNotificationCenter.defaultCenter().addObserver(self, selector: "hideOverlay:", name: "dragEnded", object: nil)
}
Expand Down Expand Up @@ -74,6 +73,6 @@ class MainSplitViewController: NSSplitViewController {
}

deinit {
NSNotificationCenter.defaultCenter().removeObserver(self, name: "activeProjectSet", object: nil)
NSNotificationCenter.defaultCenter().removeObserver(self)
}
}

0 comments on commit 12fbf9d

Please sign in to comment.