B2019-029: When a new annotation is created, unless you press save, it isn’t saved. The first fix caused a dialog to come up repeatedly for when save is selected. There is no longer a dialog and this was fixed with this update

This commit is contained in:
2019-03-28 14:35:21 +00:00
parent 389250bad3
commit a9ad0ed12a
5 changed files with 79 additions and 74 deletions

View File

@@ -183,6 +183,8 @@ namespace Volian.Controls.Library
private void StepTabPanel_Enter(object sender, EventArgs e)
{
if (_ShowingItem) return;
// B2019-029: added to save a dirty annotation when the btnsave was not clicked (user just moves to another steprtb but had added annotationi text):
if (MyDisplayTabControl.MyAnnotationDetails.AnnotationDirty) MyDisplayTabControl.MyAnnotationDetails.SaveAnnotation();
_ShowingItem = true;
//if (ItemSelected != null)
_MyStepPanel.ItemShow();