Port Form1 to Avalonia

This commit is contained in:
Michael Bucari-Tovo 2022-07-11 00:13:32 -06:00
parent ef869dbe09
commit 0de62ce010
58 changed files with 4408 additions and 17 deletions

View file

@ -49,7 +49,7 @@ namespace LibationWinForms
private void exportMenuEnable(object _, System.ComponentModel.RunWorkerCompletedEventArgs e)
{
var libraryStats = e.Result as LibraryCommands.LibraryStats;
exportLibraryToolStripMenuItem.Enabled = libraryStats.HasBookResults;
Invoke(() => exportLibraryToolStripMenuItem.Enabled = libraryStats.HasBookResults);
}
// this cannot be cleanly be FormattableToolStripMenuItem because of the optional "Errors" text