Skip to content

Commit

Permalink
Fix #45. Hide progressbar and cancel button after zipping is finished.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanjon2040 committed Nov 9, 2021
1 parent 1ed724d commit 082b882
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions UnrealBinaryBuilder/Classes/PostBuildSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,7 @@ public async void SaveToZip(string InBuildDirectory, string ZipLocationToSave)
zipFile.Save(ZipLocationToSave);
Application.Current.Dispatcher.Invoke(() =>
{
mainWindow.CancelZipping.IsEnabled = false;
mainWindow.CurrentFileSaving.Visibility = Visibility.Collapsed;
mainWindow.CurrentFileSaving.Visibility = mainWindow.OverallProgressbar.Visibility = mainWindow.CancelZipping.Visibility = Visibility.Collapsed;
mainWindow.FileSaveState.Content = $"State: Saved to {ZipLocationToSave}";
mainWindow.AddLogEntry($"Done zipping. {ZipLocationToSave}");
});
Expand Down

0 comments on commit 082b882

Please sign in to comment.