Commit e72a71ea authored by Daniel Ratiu's avatar Daniel Ratiu
Browse files

fix

parent 51a392e5
......@@ -115,6 +115,7 @@ import org.fortiss.af3.mira.ui.editor.highlight.ScannerManager;
import org.fortiss.af3.mira.ui.editor.images.ImageSection;
import org.fortiss.af3.mira.ui.editor.relation.RelationSection;
import org.fortiss.af3.mira.ui.utils.RequirementUtils;
import org.fortiss.af3.project.ui.utils.NewProjectUtils;
import org.fortiss.tooling.base.ui.dialog.ElementTreeSingleSelectDialog;
import org.fortiss.tooling.base.ui.dialog.ModelElementTreeContentProvider;
import org.fortiss.tooling.base.ui.editor.FormsEditorBase;
......@@ -458,7 +459,9 @@ public class RequirementEditor<T extends Requirement> extends FormsEditorBase<T>
try {
FileItem fileItem = editedObject.getDocument().getDocument();
File file = new File(fileItem.getUri());
File file =
new File(NewProjectUtils.getDefaultGeneralProjectPath(), fileItem
.getUri());
// open the file in the system file viewer when the user
// double clicks on the link
if(fileItem.isIsLocal()) {
......
Supports Markdown
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