mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-11 15:07:11 +00:00
Add report exporting to clipboard
Closes #1141 cleaner look maybe in the future (colorized)
This commit is contained in:
parent
4e1a520b0a
commit
7edc2eb14f
1 changed files with 9 additions and 1 deletions
|
@ -2980,7 +2980,15 @@ namespace PKHeX.WinForms
|
|||
}
|
||||
if (tabs)
|
||||
updateLegality(la, skipMoveRepop);
|
||||
WinFormsUtil.Alert(la.Report(verbose));
|
||||
var report = la.Report(verbose);
|
||||
if (verbose)
|
||||
{
|
||||
var dr = WinFormsUtil.Prompt(MessageBoxButtons.YesNo, report, "Copy report to Clipboard?");
|
||||
if (dr == DialogResult.Yes)
|
||||
Clipboard.SetText(report);
|
||||
}
|
||||
else
|
||||
WinFormsUtil.Alert(report);
|
||||
}
|
||||
private void updateLegality(LegalityAnalysis la = null, bool skipMoveRepop = false)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue