Revise Clipboard initialization
This commit is contained in:
parent
0ae8c9c861
commit
3ea67a3127
1 changed files with 4 additions and 1 deletions
|
|
@ -241,7 +241,10 @@ namespace MatterHackers.MatterControl
|
|||
#endif
|
||||
{
|
||||
#if IS_WINDOWS_FORMS
|
||||
Clipboard.SetSystemClipboard(new WindowsFormsClipboard());
|
||||
if(!Clipboard.IsInitialized)
|
||||
{
|
||||
Clipboard.SetSystemClipboard(new WindowsFormsClipboard());
|
||||
}
|
||||
#endif
|
||||
|
||||
MatterHackers.PolygonMesh.UnitTests.UnitTests.Run();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue