1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 10:16:03 +02:00

Fix for 191213: Don't persist ExternalEditorInput for binary content

This commit is contained in:
Anton Leherbauer 2007-06-06 11:52:59 +00:00
parent 2878f6dff0
commit b46612d412

View file

@ -92,8 +92,11 @@ public class ExternalEditorInput implements ITranslationUnitEditorInput, IPersis
* @see IEditorInput#getPersistable()
*/
public IPersistableElement getPersistable() {
if (location != null) {
return this;
}
return null;
}
/*
* see IStorageEditorInput#getStorage()