Merge pull request 'Rollback_B2025-064' (#674) from Rollback_B2025-064 into Development

merged into development.
This commit was merged in pull request #674.
This commit is contained in:
2025-12-16 14:50:13 -05:00

View File

@@ -1668,17 +1668,7 @@ namespace Volian.Controls.Library
} }
Clipboard.Clear(); Clipboard.Clear();
//Try to update the data object to persist beyond PROMS life Clipboard.SetDataObject(myDO); // this saves the cleaned up information to the Windows clipboard
//if can't, log it and use old method of scoping clipboard to PROMS life
try
{
Clipboard.SetDataObject(myDO, true); // this saves the cleaned up information to the Windows clipboard
}
catch (Exception ex)
{
_MyLog.Warn($"Error Setting Clipboard Object to Persist beyond PROMS. Clipboard will be scoped to PROMS. Error:{ex.Message}");
Clipboard.SetDataObject(myDO); // this saves the cleaned up information to the Windows clipboard
}
} }
iData = Clipboard.GetDataObject(); iData = Clipboard.GetDataObject();
bool noEquationData = true; bool noEquationData = true;