Development #675

Merged
djankowski merged 5 commits from Development into master 2025-12-18 08:34:38 -05:00
Showing only changes of commit 7d63e7e417 - Show all commits

View File

@@ -1668,18 +1668,7 @@ namespace Volian.Controls.Library
} }
Clipboard.Clear(); Clipboard.Clear();
_MyLog.Warn("Clipboard Copied"); Clipboard.SetDataObject(myDO); // this saves the cleaned up information to the Windows clipboard
//Try to update the data object to persist beyond PROMS life
//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;