浏览代码

Fixed CancelItem for DataEntyrPanel

Kenric Nugteren 1 周之前
父节点
当前提交
c3f2b683f7
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      prs.desktop/Panels/DataEntry/DataEntryPanel.xaml.cs

+ 1 - 0
prs.desktop/Panels/DataEntry/DataEntryPanel.xaml.cs

@@ -258,6 +258,7 @@ public partial class DataEntryPanel : UserControl, IBasePanel, IDynamicEditorHos
         Editor.OnOK += () => { DoSave(false); };
         Editor.OnCancel += () =>
         {
+            Editor.CancelItem();
             _entityID = _originalID;
             Select(_selectedType, _entityID);
         };