mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 22:22:11 +02:00
Refresh source files if the source containers have changed.
This commit is contained in:
parent
be136db87e
commit
b9deab734a
1 changed files with 1 additions and 0 deletions
|
@ -207,6 +207,7 @@ public class SourceFilesViewer extends BaseViewer implements ISourceLookupPartic
|
||||||
public IStatus runInUIThread(IProgressMonitor monitor) {
|
public IStatus runInUIThread(IProgressMonitor monitor) {
|
||||||
Object input = getInput();
|
Object input = getInput();
|
||||||
if (input != null && input instanceof Executable) {
|
if (input != null && input instanceof Executable) {
|
||||||
|
((Executable)input).setRefreshSourceFiles(true);
|
||||||
refresh(true);
|
refresh(true);
|
||||||
}
|
}
|
||||||
return Status.OK_STATUS;
|
return Status.OK_STATUS;
|
||||||
|
|
Loading…
Add table
Reference in a new issue