mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 02:04:20 +00:00
Minor cleanup, move storage of view code to conditional where it is created, suggested by @fredkiefer
This commit is contained in:
parent
cf7b9ebd39
commit
baca2ae98a
2 changed files with 4 additions and 2 deletions
|
@ -2240,10 +2240,11 @@ Also returns the child index relative to this parent. */
|
|||
{
|
||||
view = [self _prototypeCellViewFromTableColumn: tb];
|
||||
}
|
||||
|
||||
[self _setRenderedView: view forPath: path];
|
||||
}
|
||||
|
||||
[view setFrame: drawingRect];
|
||||
[self _setRenderedView: view forPath: path];
|
||||
|
||||
return view;
|
||||
}
|
||||
|
|
|
@ -7123,10 +7123,11 @@ For a more detailed explanation, -setSortDescriptors:. */
|
|||
{
|
||||
view = [self _prototypeCellViewFromTableColumn: tb];
|
||||
}
|
||||
|
||||
[self _setRenderedView: view forPath: path];
|
||||
}
|
||||
|
||||
[view setFrame: drawingRect];
|
||||
[self _setRenderedView: view forPath: path];
|
||||
|
||||
return view;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue