mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 06:51:44 +00:00
Don't add the view again if it's one that has already been added, this causes the application to poll unneccessarily
This commit is contained in:
parent
e19038665b
commit
db773ae9ec
1 changed files with 1 additions and 1 deletions
|
@ -3570,11 +3570,11 @@ static NSDictionary *titleTextAttributes[3] = {nil, nil, nil};
|
|||
|
||||
// Store the object...
|
||||
[paths setObject: view forKey: path];
|
||||
[tableView addSubview: view];
|
||||
}
|
||||
|
||||
// Place the view...
|
||||
[view setFrame: drawingRect];
|
||||
[tableView addSubview: view];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue