diff --git a/StoryBuilderLib/ViewModels/Tools/PrintReportDialogVM.cs b/StoryBuilderLib/ViewModels/Tools/PrintReportDialogVM.cs index 6aaf1eb4..0fe87a63 100644 --- a/StoryBuilderLib/ViewModels/Tools/PrintReportDialogVM.cs +++ b/StoryBuilderLib/ViewModels/Tools/PrintReportDialogVM.cs @@ -192,9 +192,12 @@ public async Task PrintSingleNode(StoryNodeItem elementItem) SelectedNodes.Clear(); //Only print single node PrintReports _rpt = new(this, ShellViewModel.GetModel()); - await _rpt.Generate(); + + if (elementItem.Type == StoryItemType.StoryOverview) {CreateOverview = true; } + else { SelectedNodes.Add(elementItem); } - await new PrintReports(this, ShellViewModel.GetModel()).Generate(); + _rpt.Print(await _rpt.Generate()); + CreateOverview = false; } public void RegisterForPrint()