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:
parent
7d7f5e51f0
commit
3e7072e2ac
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue