개정판 51c6ce90
Fix: 심볼을 추가할때 맨 위로 오도록 수정
Change-Id: I40040e444d0378de6bae0e4118e580eda4766801
KCOM/Events/PasteCommand.cs | ||
---|---|---|
87 | 87 |
int index = ViewerDataModel.Instance.MarkupControls_USER.ToList().FindIndex(x => x == control); |
88 | 88 |
ViewerDataModel.Instance.MarkupControls_USER.RemoveAt(index); |
89 | 89 |
ViewerDataModel.Instance.MarkupControls_USER.Add(control); |
90 |
control.Index = ViewerDataModel.Instance.MarkupControls_USER.ToList().FindIndex(x => x == control); |
|
90 | 91 |
#endregion |
91 | 92 |
|
92 | 93 |
control.CommentID = Commons.ShortGuid(); |
... | ... | |
99 | 100 |
control.SymbolID = data2[1]; |
100 | 101 |
} |
101 | 102 |
|
102 |
//CreateCommand.Instance.Execute(control); |
|
103 | 103 |
adornerSet.Add(control); |
104 | 104 |
var UndoData = new UndoData(control); |
105 | 105 |
UndoDataGrp.MarkupDataColl.Add(UndoData); |
106 | 106 |
ViewerDataModel.Instance.UndoDataList.Add(UndoDataGrp); |
107 | 107 |
|
108 | 108 |
Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.UpdateMyMarkupList(); |
109 |
//ViewerDataModel.Instance.MarkupControls_USER.Remove(control); |
|
110 | 109 |
|
111 | 110 |
ViewerDataModel.Instance.SystemMain.dzMainMenu.pageNavigator.MarkupListUpdate( |
112 | 111 |
MarkupParser.MarkupToString(UndoData.Markup, App.ViewInfo.UserID), EventType.Create, null, null); |
내보내기 Unified diff