The code.ill.fr has been recreated and upgraded with the latest version this weekend, If you encounter any problem please inform the Helpdesk.

Commit 35e4f232 authored by yannick legoc's avatar yannick legoc
Browse files

Save the view file with view.xml suffix

parent 565a0a1d
......@@ -277,7 +277,7 @@ public class EditorMenuBar extends MenuBar {
// Choose a file.
FileChooser chooser = new FileChooser();
chooser.setInitialFileName(componentName + "-viewer.xml");
chooser.setInitialFileName(componentName + "-view.xml");
chooser.setInitialDirectory(new File(Nomad3DEditor.getInstance().getModel().getDirectoryPath()));
chooser.setTitle("Save Current View");
chooser.getExtensionFilters().addAll(new ExtensionFilter("XML files", "*.xml"));
......@@ -285,8 +285,6 @@ public class EditorMenuBar extends MenuBar {
if (selectedFile != null) {
System.out.println("Selected file : " + selectedFile);
// Reset the mergeable components.
Nomad3DEditor.getInstance().getModel().getRoot().setMergeable();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment