프로젝트

일반

사용자정보

개정판 129ca191

ID129ca1915a4614cbe559ed03a5986204fa8631df
상위 3ffd4b2d
하위 f9fb5500, 073f6118

백흠경이(가) 5년 이상 전에 추가함

issue #923: fixed save changed controls logic

Change-Id: I434adb979a8adcf0407d75504e0ecfc48085f988

차이점 보기:

KCOM/Services/BaseServices.cs
374 374
                gridViewMarkup.ItemsSource = ViewerDataModel.Instance._markupInfoList;
375 375
                SetCommentPages();
376 376

  
377
                Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.pageNavigator.GotoPage(1);
377 378
                var SelectedItem = ViewerDataModel.Instance._markupInfoList.Where(info => info.UserID == App.ViewInfo.UserID).OrderByDescending(order => order.UpdateTime).FirstOrDefault();
378 379
                this.gridViewMarkup.SelectedItem = (PreviewUserMarkupInfoItem != null) ? PreviewUserMarkupInfoItem : SelectedItem;
379 380

  
......
485 486
                            var controls = Common.ViewerDataModel.Instance.MarkupControls_USER.Where(d => d.MarkupInfoID == item.MarkupInfoID).ToList();
486 487
                            if (controls.Count == 0)
487 488
                            {
488
                                var instance = ViewerDataModel.Instance.MyMarkupList.Where(d => d.PageNumber == ViewerDataModel.Instance.PageNumber && d.MarkupInfoID == item.MarkupInfoID).ToList();
489
                                var instance = ViewerDataModel.Instance.MyMarkupList.Where(d => d.PageNumber == this.pageNavigator.CurrentPage.PageNumber && d.MarkupInfoID == item.MarkupInfoID).ToList();
489 490
                                foreach (var markup in instance)
490 491
                                {
491 492
                                    MarkupParser.ParseEx(App.ViewInfo.ProjectNO, markup.Data, Common.ViewerDataModel.Instance.MarkupControls_USER, item.DisplayColor, "", 
......
505 506
                            var controls = Common.ViewerDataModel.Instance.MarkupControls.Where(d => d.MarkupInfoID == item.MarkupInfoID).ToList();
506 507
                            if (controls.Count == 0)
507 508
                            {
508
                                var instance = ViewerDataModel.Instance.MarkupList_Pre.Where(d => d.PageNumber == ViewerDataModel.Instance.PageNumber && d.MarkupInfoID == item.MarkupInfoID).ToList();
509
                                var instance = ViewerDataModel.Instance.MarkupList_Pre.Where(d => d.PageNumber == this.pageNavigator.CurrentPage.PageNumber && d.MarkupInfoID == item.MarkupInfoID).ToList();
509 510
                                foreach (var markup in instance)
510 511
                                {
511 512
                                    MarkupParser.ParseEx(App.ViewInfo.ProjectNO, markup.Data, Common.ViewerDataModel.Instance.MarkupControls, item.DisplayColor, "",

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)