1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 08:46:02 +02:00

Only refresh the mapping of the source files, not the entire list.

This commit is contained in:
Ken Ryall 2010-04-26 16:59:04 +00:00
parent 7d7f5e51f0
commit 3e7072e2ac

View file

@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2008 Nokia and others.
* Copyright (c) 2010 Nokia and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@ -219,7 +219,7 @@ public class SourceFilesViewer extends BaseViewer implements ISourceLookupPartic
public IStatus runInUIThread(IProgressMonitor monitor) {
Object input = getInput();
if (input != null && input instanceof Executable) {
((Executable)input).setRefreshSourceFiles(true);
((Executable)input).setRemapSourceFiles(true);
refresh(true);
}
return Status.OK_STATUS;