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:
parent
2878f6dff0
commit
b46612d412
1 changed files with 4 additions and 1 deletions
|
@ -92,7 +92,10 @@ public class ExternalEditorInput implements ITranslationUnitEditorInput, IPersis
|
||||||
* @see IEditorInput#getPersistable()
|
* @see IEditorInput#getPersistable()
|
||||||
*/
|
*/
|
||||||
public IPersistableElement getPersistable() {
|
public IPersistableElement getPersistable() {
|
||||||
return this;
|
if (location != null) {
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue