The project name will be visible in the editor when loading a project

This commit is contained in:
dcollin 2015-11-10 09:02:39 +01:00
parent eb754aecf9
commit 9bdfb6b538
2 changed files with 6 additions and 0 deletions

View file

@ -255,6 +255,8 @@ public class CoderClient extends Application{
if(projectSelectionWindow != null){ if(projectSelectionWindow != null){
projectSelectionWindow.setErrorMessage(""); projectSelectionWindow.setErrorMessage("");
} }
editorWindow.setProjectName(projectRspMsg.name);
Properties projectConfig = projectRspMsg.config; Properties projectConfig = projectRspMsg.config;
String projectDescription = projectRspMsg.description; String projectDescription = projectRspMsg.description;
List<String> projectFileList = projectRspMsg.fileList; List<String> projectFileList = projectRspMsg.fileList;

View file

@ -140,4 +140,8 @@ public class EditorWindow extends GuiWindow {
} }
public void setProjectName(String name) {
fileTreeView.getRoot().setValue(name);
}
} }