Skip to content

Commit

Permalink
TEIIDDES-2138 corrected project check for selected folder
Browse files Browse the repository at this point in the history
  • Loading branch information
blafond committed Jul 15, 2014
1 parent 7621160 commit 616d645
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ public boolean select( final Viewer viewer,
final Object element ) {
if (element instanceof IContainer) {
if( folder != null ) {
return (folder.getProject() == element );
return (folder.getProject() == ((IContainer)element).getProject() );
}
return true;
}
Expand Down

0 comments on commit 616d645

Please sign in to comment.