개정판 4eb052e4
issue #564 Markup List 동기화
Change-Id: I79700340e669508ab329f2cf41afec020b4dbd27
KCOM/Events/DeleteCommand.cs | ||
---|---|---|
77 | 77 | |
78 | 78 |
var Item_ = ViewerDataModel.Instance.MyMarkupList.Where(d => d.ID == comment.CommentID).FirstOrDefault(); |
79 | 79 |
ViewerDataModel.Instance.MyMarkupList.Remove(Item_); |
80 | ||
81 |
ViewerDataModel.Instance.SystemMain.dzMainMenu.pageNavigator.markupListUpdate( |
|
82 |
null, Event_Type.Delete, MarkupParser.MarkupToString(multi_Undo_Data.Markup, App.ViewInfo.UserID).CommentID, null); |
|
80 | 83 |
} |
81 | 84 | |
82 | 85 |
ViewerDataModel.Instance.UndoDataList.Where(data => data.IsUndo == true).ToList().ForEach(i => |
83 | 86 |
{ |
84 | 87 |
ViewerDataModel.Instance.UndoDataList.Remove(i); |
85 | 88 |
}); |
86 |
ViewerDataModel.Instance.UndoDataList.Add(UndoData); |
|
89 |
ViewerDataModel.Instance.UndoDataList.Add(UndoData);
|
|
87 | 90 |
} |
88 | 91 |
} |
89 | 92 |
} |
내보내기 Unified diff