aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/PSMTabBar/PSMTabDragAssistant.m
diff options
context:
space:
mode:
authorAbhi Beckert <abhi@abhibeckert.com>2014-12-02 05:29:03 +1000
committerAbhi Beckert <abhi@abhibeckert.com>2014-12-02 05:29:03 +1000
commitb5e972f4504043dfb9c358e272e93fb59ae2127f (patch)
treef1a22749a17e6d01cfb928fbbab00f41acf38be4 /Frameworks/PSMTabBar/PSMTabDragAssistant.m
parent1af7e143385e716b5b0154854dda22a9c270ccad (diff)
parent00432038fa8a4727322d8eae25c01fad510b899c (diff)
downloadsequelpro-b5e972f4504043dfb9c358e272e93fb59ae2127f.tar.gz
sequelpro-b5e972f4504043dfb9c358e272e93fb59ae2127f.tar.bz2
sequelpro-b5e972f4504043dfb9c358e272e93fb59ae2127f.zip
Merge pull request #2030 from origsun/master
Remove a private API in PSMTabBarCell
Diffstat (limited to 'Frameworks/PSMTabBar/PSMTabDragAssistant.m')
-rw-r--r--Frameworks/PSMTabBar/PSMTabDragAssistant.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Frameworks/PSMTabBar/PSMTabDragAssistant.m b/Frameworks/PSMTabBar/PSMTabDragAssistant.m
index db993b81..bb2d255a 100644
--- a/Frameworks/PSMTabBar/PSMTabDragAssistant.m
+++ b/Frameworks/PSMTabBar/PSMTabDragAssistant.m
@@ -367,7 +367,7 @@ static PSMTabDragAssistant *sharedDragAssistant = nil;
}
[[[self destinationTabBar] cells] replaceObjectAtIndex:destinationIndex withObject:[self draggedCell]];
- [[self draggedCell] setControlView:[self destinationTabBar]];
+ [[self draggedCell] setCustomControlView:[self destinationTabBar]];
// move actual NSTabViewItem
if ([self sourceTabBar] != [self destinationTabBar]) {
@@ -474,7 +474,7 @@ static PSMTabDragAssistant *sharedDragAssistant = nil;
//rebind the cell to the new control
[control bindPropertiesForCell:[self draggedCell] andTabViewItem:[[self draggedCell] representedObject]];
- [[self draggedCell] setControlView:control];
+ [[self draggedCell] setCustomControlView:control];
[[[self sourceTabBar] tabView] removeTabViewItem:[[self draggedCell] representedObject]];