Compare commits
No commits in common. "0fa71727ac6843e716a8560a1793f1b36522bcd1" and "1d406b0c7e0ab7beff84dd7066793b14ea455e08" have entirely different histories.
0fa71727ac
...
1d406b0c7e
@ -897,7 +897,11 @@ namespace Volian.Controls.Library
|
|||||||
// B2023-072: Don't crash if annotation type was deleted for the restore annotation
|
// B2023-072: Don't crash if annotation type was deleted for the restore annotation
|
||||||
if (ai == null)
|
if (ai == null)
|
||||||
{
|
{
|
||||||
FlexibleMessageBox.Show(this, "Annotation Type was deleted, cannot restore Annotation Type\r\nCopy text from window in Change Details and paste into new annotation to restore the text.", "Annotation Type Deleted", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
AnnotationTypeInfo ati = AnnotationTypeInfo.Get(aai.TypeID);
|
||||||
|
if (ati == null)
|
||||||
|
{
|
||||||
|
FlexibleMessageBox.Show(this, "Annotation Type was deleted, cannot restore Annotation Type\r\nCopy text from window in Change Details and paste into new annotation to restore the text.", "Annotation Type Deleted", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
OnAnnotationRestored(ai, ai.MyItem);
|
OnAnnotationRestored(ai, ai.MyItem);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user