소스 검색

PRS DESKTOP - bug fix PO screen not showing all POs if show all configuration was saved

Nick-PRSDigital@bitbucket.org 2 년 전
부모
커밋
1d9ff2f4be
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      prs.desktop/Panels/Suppliers/SupplierPurchaseOrderPanel.xaml.cs

+ 3 - 0
prs.desktop/Panels/Suppliers/SupplierPurchaseOrderPanel.xaml.cs

@@ -74,6 +74,9 @@ namespace PRSDesktop
         public void Setup()
         {
             settings = new UserConfiguration<PurchaseScreenSettings>().Load();
+            if (settings.ShowAll)
+                Orders.ShowAll = true;
+
             SplitPanel.View = settings.ViewType == ScreenViewType.Register ? DynamicSplitPanelView.Master :
                 settings.ViewType == ScreenViewType.Details ? DynamicSplitPanelView.Detail : DynamicSplitPanelView.Combined;
             SplitPanel.MasterWidth = settings.PurchaseColumnWidth;