Просмотр исходного кода

Fixed CancelItem for DataEntyrPanel

Kenric Nugteren 2 недель назад
Родитель
Сommit
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);
         };