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:
parent
f71936c810
commit
37c52c11ef
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue