1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-15 04:55:22 +02:00

[247544] restricting selection to 1 on restore (in case a previous version stored a large selection)

This commit is contained in:
David McKnight 2008-09-25 17:46:33 +00:00
parent d1904b3699
commit f282b86de7

View file

@ -1525,7 +1525,8 @@ public class SystemViewPart
protected IStatus doSelect(IProgressMonitor monitor)
{
Vector v = new Vector();
for (int i = 0; i < _remoteObjectsToSelect.size(); i++){
int MAX_SELECT = 1;
for (int i = 0; i < _remoteObjectsToSelect.size() && i < MAX_SELECT; i++){
Object object = _remoteObjectsToSelect.get(i);
if (object instanceof RemoteObject)