Browse Source

Removed the Copy to Clipboard button

CPKreuz 3 years ago
parent
commit
1a645b2081

+ 0 - 1
PixiEditor/Views/Dialogs/SendCrashReportWindow.xaml

@@ -34,7 +34,6 @@
         <StackPanel Margin="10">
             <TextBlock>You can find the report here:</TextBlock>
             <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
-                <Button Width="140" Click="CopyToClipboard">Copy to clipboard</Button>
                 <Button Width="140" Click="OpenInExplorer">Open in Explorer</Button>
             </StackPanel>
             <TextBlock TextAlignment="Center">You can report your crash report here:</TextBlock>

+ 0 - 5
PixiEditor/Views/Dialogs/SendCrashReportWindow.xaml.cs

@@ -35,11 +35,6 @@ namespace PixiEditor.Views.Dialogs
             SystemCommands.CloseWindow(this);
         }
 
-        private void CopyToClipboard(object sender, RoutedEventArgs e)
-        {
-            Clipboard.SetFileDropList(new() { report.FilePath });
-        }
-
         private void OpenInExplorer(object sender, RoutedEventArgs e)
         {
             string tempPath = Path.Combine(