1
0
Fork 0
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:
Vivian Kong 2010-01-19 16:41:34 +00:00
parent 0991ca6fd9
commit 17264b6f8c

View file

@ -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;
}