mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 21:37:39 +00:00
viewWithTag: behavior adjustment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19840 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8a5264e83f
commit
8f04d6a957
2 changed files with 8 additions and 1 deletions
|
@ -50,6 +50,7 @@
|
|||
#include "AppKit/NSPageLayout.h"
|
||||
#include "AppKit/NSTableView.h"
|
||||
#include "AppKit/NSTabView.h"
|
||||
#include "AppKit/NSTabViewItem.h"
|
||||
#include "AppKit/NSPrinter.h"
|
||||
#include "GSGuiPrivate.h"
|
||||
#include "GNUstepGUI/GSPrinting.h"
|
||||
|
@ -501,7 +502,7 @@ enum {
|
|||
for( n = 100; n <= 105; n++ )
|
||||
{
|
||||
NSTextField *textField;
|
||||
textField = [tabView viewWithTag: n];
|
||||
textField = [[[tabView tabViewItemAtIndex:1] view] viewWithTag: n];
|
||||
[textField setStringValue: measurementString];
|
||||
}
|
||||
//doing the above puts selects the 2nd tab, we don't want that.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue