mirror of
https://github.com/chylex/Backup-Essentials.git
synced 2025-06-02 06:34:08 +02: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){
|
private void WorkerCompleted(object sender, RunWorkerCompletedEventArgs e){
|
||||||
Runner = null;
|
|
||||||
ButtonShowReport.IsEnabled = true;
|
ButtonShowReport.IsEnabled = true;
|
||||||
ButtonEnd.Content = "Close";
|
ButtonEnd.Content = "Close";
|
||||||
Report = e.Result as BackupReport;
|
Report = e.Result as BackupReport;
|
||||||
|
|
||||||
HistoryGenWorker = HistoryGenerator.FromReport(Report).GenerateAsync((sender2, historyArgs) => {
|
HistoryGenWorker = HistoryGenerator.FromReport(Runner.RunInfo,Report).GenerateAsync((sender2, historyArgs) => {
|
||||||
HistoryGenWorker = null;
|
HistoryGenWorker = null;
|
||||||
|
|
||||||
if (historyArgs.Result == null){
|
if (historyArgs.Result == null){
|
||||||
@ -70,6 +69,8 @@ namespace BackupEssentials{
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Runner = null;
|
||||||
|
|
||||||
if (e.Error != null){
|
if (e.Error != null){
|
||||||
LabelInfo.Content = e.Error.Message;
|
LabelInfo.Content = e.Error.Message;
|
||||||
TaskbarItemInfo.ProgressState = TaskbarItemProgressState.Error;
|
TaskbarItemInfo.ProgressState = TaskbarItemProgressState.Error;
|
||||||
|
Loading…
Reference in New Issue
Block a user