mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-25 13:37:02 +03:00
Fixed tab closing leaving the URL bar disconnected from the current tab
svn path=/trunk/netsurf/; revision=11423
This commit is contained in:
parent
699f0cb344
commit
010ac0c181
@ -132,8 +132,12 @@ extern NSString * const kHomepageURL;
|
||||
- (void) tabView: (NSTabView *)aTabView didCloseTabViewItem: (NSTabViewItem *)tabViewItem;
|
||||
{
|
||||
[tabViewItem unbind: @"label"];
|
||||
browser_window_destroy( [[tabViewItem identifier] browser] );
|
||||
|
||||
if (activeBrowser == [tabViewItem identifier]) {
|
||||
[self setActiveBrowser: nil];
|
||||
}
|
||||
|
||||
browser_window_destroy( [[tabViewItem identifier] browser] );
|
||||
}
|
||||
|
||||
@end
|
||||
|
Loading…
Reference in New Issue
Block a user