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