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

[247189] SystemEditableRemoteFile.openEditor() not updating the default editor properly

This commit is contained in:
David McKnight 2008-09-17 15:39:35 +00:00
parent f71936c810
commit 37c52c11ef

View file

@ -33,6 +33,7 @@
* David McKnight (IBM) - [225747] [dstore] Trying to connect to an "Offline" system throws an NPE
* David McKnight (IBM) - [229610] [api] File transfers should use workspace text file encoding
* David McKnight (IBM) - [235221] Files truncated on exit of Eclipse
* David McKnight (IBM) - [247189] SystemEditableRemoteFile.openEditor() not updating the default editor properly
*******************************************************************************/
package org.eclipse.rse.files.ui.resources;
@ -1615,7 +1616,7 @@ public class SystemEditableRemoteFile implements ISystemEditableRemoteObject, IP
String editorId = null;
if (_editorDescriptor != null)
_editorDescriptor.getId();
editorId = _editorDescriptor.getId();
IDE.setDefaultEditor(file, editorId);