mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-25 01:45:33 +02:00
Cosmetics.
This commit is contained in:
parent
38863b65d7
commit
6b3e138ff5
2 changed files with 3 additions and 4 deletions
|
@ -6,7 +6,7 @@
|
|||
* http://www.eclipse.org/legal/epl-v10.html
|
||||
*
|
||||
* Contributors:
|
||||
* Markus Schorn - initial API and implementation
|
||||
* Markus Schorn - initial API and implementation
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.internal.core;
|
||||
|
||||
|
|
|
@ -2088,9 +2088,8 @@ public class CEditor extends TextEditor implements ICEditor, ISelectionChangedLi
|
|||
IFile originalFile = getEditorInputFile(originalElement);
|
||||
|
||||
if (originalFile != null) {
|
||||
// if the project of the original input cannot be accessed,
|
||||
// we do have a project rename scenario and we can handle a move
|
||||
// see Bug #434852
|
||||
// If the project of the original input cannot be accessed, the project is being
|
||||
// renamed - accept the move. See http://bugs.eclipse.org/434852
|
||||
if (originalFile.getProject() != null && !originalFile.getProject().isAccessible()) {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue