Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit b6ec93e9 authored by Harald Martini's avatar Harald Martini
Browse files

Added File name to title of MultistageJobViewModel

parent 9aec3767
No related branches found
No related tags found
No related merge requests found
......@@ -83,8 +83,9 @@ namespace VECTO3GUI2020.ViewModel.MultiStage.Implementation
IJobListViewModel jobListViewModel,
IAdditionalJobInfoViewModel additionalJobInfo)
{
Title = "Edit Multistage Job";
_dataSource = inputData.DataSource;
Title = $"Edit Multistage Job - {Path.GetFileName(_dataSource.SourceFile)}";
_jobInputData = inputData.JobInputData;
_jobListViewModel = jobListViewModel;
_inputData = inputData;
......
......@@ -58,7 +58,7 @@ namespace VECTO3GUI2020.ViewModel.MultiStage.Implementation
protected override void LoadStageInputDataFollowUp(IDeclarationInputDataProvider loadedInputData)
{
DataSource = loadedInputData.DataSource;
UpdateTitle();
UpdateTitle();
DocumentName = loadedInputData.JobInputData.JobName;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment