Просмотр исходного кода

Fixed data sync issue on Purchase order panel

Kenric Nugteren 3 недель назад
Родитель
Сommit
ca835249b4

+ 1 - 1
prs.desktop/Panels/PurchaseOrders/SupplierPurchaseOrderPanel.xaml.cs

@@ -260,11 +260,11 @@ public partial class SupplierPurchaseOrderPanel : UserControl, IPanel<PurchaseOr
 
             if (!cancel.Cancel)
             {
+                ReloadOrders();
                 if(_orders is not null)
                 {
                     Orders.UpdateRows(rows, _orders);
                 }
-                ReloadOrders();
                 SetChanged(false);
             }
         }