1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 07:05:24 +02:00

[276103] Files with names in different cases are not handled properly

This commit is contained in:
David McKnight 2009-05-20 15:14:54 +00:00
parent ebf19c79d2
commit ba872f8882

View file

@ -3302,7 +3302,10 @@ public class SystemViewRemoteFileAdapter
IEditorPart editor = editable.getEditorPart();
boolean editorWasClosed = false;
if (editor.isDirty()){
if (editor == null){
editorWasClosed = true;
}
else if (editor.isDirty()){
editorWasClosed = editor.getEditorSite().getPage().closeEditor(editor, true);
if (editorWasClosed)
editable.doImmediateSaveAndUpload();