mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 13:30:48 +00:00
Implement logic for canPropagate...
This commit is contained in:
parent
bc802f3833
commit
09f022fa14
2 changed files with 13 additions and 0 deletions
|
@ -121,6 +121,14 @@
|
|||
- (void) setSelectedTabViewItemIndex: (NSInteger)idx
|
||||
{
|
||||
[[self tabView] selectTabViewItemAtIndex: idx];
|
||||
if (_canPropagateSelectedChildViewControllerTitle)
|
||||
{
|
||||
NSString *title = [[[self tabView] tabViewItems] objectAtIndex: idx];
|
||||
if (title != nil)
|
||||
{
|
||||
[self setTitle: title];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Responding to tabview actions...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue