mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-24 08:44:01 +02:00
'performApply' of 'SourceLookupBlock' should check if the project in configuration is the same as project saved in the block.
This commit is contained in:
parent
a042dbd4dd
commit
0cc062f8ab
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-12-05 Mikhail Khodjaiants
|
||||
'performApply' of 'SourceLookupBlock' should check if the project in configuration is the same as
|
||||
project saved in the block.
|
||||
* SourceLookupBlock.java
|
||||
|
||||
2003-12-04 Mikhail Khodjaiants
|
||||
Changed the message displayed when the source file is not found.
|
||||
* CDebugEditor.java
|
||||
|
|
|
@ -254,7 +254,7 @@ public class SourceLookupBlock implements Observer
|
|||
if ( locator instanceof IAdaptable )
|
||||
{
|
||||
ICSourceLocator clocator = (ICSourceLocator)((IAdaptable)locator).getAdapter( ICSourceLocator.class );
|
||||
if ( clocator != null )
|
||||
if ( clocator != null && getProject() != null && getProject().equals( getProjectFromLaunchConfiguration( configuration ) ) )
|
||||
{
|
||||
clocator.setSourceLocations( getSourceLocations() );
|
||||
clocator.setSearchForDuplicateFiles( searchForDuplicateFiles() );
|
||||
|
|
Loading…
Add table
Reference in a new issue