프로젝트

일반

사용자정보

개정판 02a9f323

ID02a9f323c8ce9de6e0deba026998068c36975c6c
상위 c7b02506
하위 19d602e0

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

Fix: UndoDataGroup 생성자 추가

Change-Id: If11a260fd4a847b735c721d7d2777447fd218dd8

차이점 보기:

KCOM/Events/UndoCommand.cs
49 49
        /// <param name="comments"></param>
50 50
        public void Push(EventType _EventType, ICollection<CommentUserInfo> comments)
51 51
        {
52
            UndoDataGroup UndoData = new UndoDataGroup()
52
            UndoDataGroup UndoDataGrp = new UndoDataGroup()
53 53
            {
54 54
                IsUndo = false,
55
                Event = _EventType,
56
                EventTime = DateTime.Now,
57
                MarkupDataColl = new List<UndoData>(),
55
                Event = _EventType
58 56
            };
59 57

  
60 58
            foreach (var comment in comments)
......
64 62
                    Markup = comment
65 63
                };
66 64
                _UndoData.Clone = comment.Clone();
67
                UndoData.MarkupDataColl.Add(_UndoData);
65
                UndoDataGrp.MarkupDataColl.Add(_UndoData);
68 66

  
69 67
                if (_EventType == EventType.Delete)
70 68
                {
......
88 86
            {
89 87
                ViewerDataModel.Instance.UndoDataList.Remove(i);
90 88
            });
91
            ViewerDataModel.Instance.UndoDataList.Add(UndoData);
89
            ViewerDataModel.Instance.UndoDataList.Add(UndoDataGrp);
92 90
        }
93 91

  
94 92
        /// <summary>

내보내기 Unified diff

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