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,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()
|
||||
|
|
Loading…
Add table
Reference in a new issue