1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +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,7 +92,10 @@ public class ExternalEditorInput implements ITranslationUnitEditorInput, IPersis
* @see IEditorInput#getPersistable()
*/
public IPersistableElement getPersistable() {
return this;
if (location != null) {
return this;
}
return null;
}
/*