mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 20:04:13 +08:00
(CopyNamesExec): ignore clipboard errors.
This commit is contained in:
parent
2f4d258694
commit
152af64a9e
@ -1199,7 +1199,14 @@ namespace GARbro.GUI
|
||||
var names = CurrentDirectory.SelectedItems.Cast<EntryViewModel>().Select (f => f.Name);
|
||||
if (names.Any())
|
||||
{
|
||||
Clipboard.SetText (string.Join ("\r\n", names));
|
||||
try
|
||||
{
|
||||
Clipboard.SetText (string.Join ("\r\n", names));
|
||||
}
|
||||
catch (Exception X)
|
||||
{
|
||||
Trace.WriteLine (X.Message, "Clipboard error");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user