From f7c3a1bb4148e5c23c0d1eca0cca65e72c7feddb Mon Sep 17 00:00:00 2001 From: Florian Stinglmayr Date: Sat, 26 Nov 2022 17:15:23 +0100 Subject: [PATCH] fix combat zone dialog --- EliteBGS/MainWindow.xaml.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/EliteBGS/MainWindow.xaml.cs b/EliteBGS/MainWindow.xaml.cs index 233420b..f652d00 100644 --- a/EliteBGS/MainWindow.xaml.cs +++ b/EliteBGS/MainWindow.xaml.cs @@ -248,13 +248,14 @@ public partial class MainWindow : Window { CombatZone zone = new CombatZone { Faction = objective.Faction, System = objective.System, - Grade = dialog.Grade, Type = dialog.Type, Amount = dialog.Amount }; - objective.Transactions.Add(zone); + UITransaction uitransaction = new UITransaction(zone); + objective.UITransactions.Add(uitransaction); + RefreshView(); }