mirror of
https://github.com/chylex/Backup-Essentials.git
synced 2025-01-08 20:42:45 +01:00
Forgot a file to prev commit
This commit is contained in:
parent
5534ad25bd
commit
9e7a315182
@ -57,12 +57,11 @@ namespace BackupEssentials{
|
||||
}
|
||||
|
||||
private void WorkerCompleted(object sender, RunWorkerCompletedEventArgs e){
|
||||
Runner = null;
|
||||
ButtonShowReport.IsEnabled = true;
|
||||
ButtonEnd.Content = "Close";
|
||||
Report = e.Result as BackupReport;
|
||||
|
||||
HistoryGenWorker = HistoryGenerator.FromReport(Report).GenerateAsync((sender2, historyArgs) => {
|
||||
HistoryGenWorker = HistoryGenerator.FromReport(Runner.RunInfo,Report).GenerateAsync((sender2, historyArgs) => {
|
||||
HistoryGenWorker = null;
|
||||
|
||||
if (historyArgs.Result == null){
|
||||
@ -70,6 +69,8 @@ namespace BackupEssentials{
|
||||
}
|
||||
});
|
||||
|
||||
Runner = null;
|
||||
|
||||
if (e.Error != null){
|
||||
LabelInfo.Content = e.Error.Message;
|
||||
TaskbarItemInfo.ProgressState = TaskbarItemProgressState.Error;
|
||||
|
Loading…
Reference in New Issue
Block a user