mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-31 04:45:38 +02:00
Bug 279853 - enable copy action in project explorer
This commit is contained in:
parent
0991ca6fd9
commit
17264b6f8c
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2000, 2008 IBM Corporation and others.
|
||||
* Copyright (c) 2000, 2010 IBM Corporation 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
|
||||
|
@ -194,7 +194,7 @@ public class CopyAction extends SelectionListenerAction {
|
|||
if (!currentResource.getParent().equals(firstParent))
|
||||
return false;
|
||||
// resource location must exist
|
||||
if (currentResource.getLocation() == null)
|
||||
if (currentResource.getLocationURI() == null)
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue