Skip to content

Commit

Permalink
Merge pull request #364 from AlenPelin/issue/362
Browse files Browse the repository at this point in the history
Fix #362
  • Loading branch information
IvanSheyenko authored Feb 4, 2020
2 parents 6b6417d + eb306be commit 910cd91
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/SIM.Tool.Base/Windows/Wizard.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ private void FinishUnsafe([NotNull] string message, bool allDone)

if (allDone)
{
WizardPipeline.AfterLastStep?.Execute(this.WizardArgs);
AddFinishActions(WizardPipeline._FinishActions);

if (WizardPipeline._FinishActionHives != null)
Expand Down Expand Up @@ -648,6 +649,13 @@ private void InitializeStep(int? i = null)
{
pipelineName = _ProcessorArgs.PipelineName;
}

if (!PipelineManager.Definitions.ContainsKey(WizardPipeline.Name))
{
Finish("Done.", true);

return;
}

PipelineManager.StartPipeline(pipelineName, _ProcessorArgs, this);
backButton.Visibility = Visibility.Hidden;
Expand Down

0 comments on commit 910cd91

Please sign in to comment.