Commit 0b2ccdc9 authored by Daniel Ratiu's avatar Daniel Ratiu
Browse files

fix

parent e72a71ea
......@@ -36,6 +36,7 @@ import static org.fortiss.af3.mira.ui.utils.MiraLayoutUtils.multiLineInputUnboun
import static org.fortiss.af3.mira.ui.utils.MiraLayoutUtils.multiLineLabelFactory;
import static org.fortiss.af3.mira.ui.utils.MiraLayoutUtils.singleLineInputFactory;
import static org.fortiss.af3.mira.ui.utils.MiraLayoutUtils.singleLineLabelFactory;
import static org.fortiss.af3.mira.ui.utils.RequirementUtils.openPDFWithPage;
import static org.fortiss.af3.mira.utils.MiraModelElementFactory.createDocumentReference;
import static org.fortiss.af3.mira.utils.MiraModelElementFactory.createRequirement;
import static org.fortiss.af3.mira.utils.MiraModelElementFactory.createUseCase;
......@@ -465,8 +466,7 @@ public class RequirementEditor<T extends Requirement> extends FormsEditorBase<T>
// open the file in the system file viewer when the user
// double clicks on the link
if(fileItem.isIsLocal()) {
if(!RequirementUtils.openPDFWithPage(file, editedObject.getDocument()
.getPage()))
if(!openPDFWithPage(file, editedObject.getDocument().getPage()))
getDesktop().open(file);
} else {
getDesktop().browse(java.net.URI.create(fileItem.getUri()));
......
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