1
0
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:
chylex 2015-04-17 17:37:31 +02:00
parent 5534ad25bd
commit 9e7a315182

View File

@ -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;