Skip to content

Commit 3ef9e6d

Browse files
committed
* Don't hide info text when updating
1 parent 29ff744 commit 3ef9e6d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

UpdateManager/Windows/UpdateWindow.xaml.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ private void BtnDownload_OnClick(object sender, RoutedEventArgs e)
163163
_downloadClient.DownloadFileCompleted += WebClient_OnDownloadFileCompleted;
164164

165165
PgbDownloadStatus.Visibility = Visibility.Visible;
166-
TxtInfo.Visibility = Visibility.Collapsed;
167166
_downloadLocation = sfd.FileName;
168167

169168
_downloadClient.DownloadFileAsync(new Uri(DownloadUrl), sfd.FileName);
@@ -172,7 +171,6 @@ private void BtnDownload_OnClick(object sender, RoutedEventArgs e)
172171
catch (Exception ex)
173172
{
174173
PgbDownloadStatus.Visibility = Visibility.Collapsed;
175-
TxtInfo.Visibility = Visibility.Visible;
176174
BtnDownload.IsEnabled = true;
177175
MessageBox.Show(ex.Message, Title, MessageBoxButton.OK, MessageBoxImage.Error);
178176
}
@@ -193,7 +191,6 @@ private void WebClient_OnDownloadFileCompleted(object sender, AsyncCompletedEven
193191
}
194192

195193
PgbDownloadStatus.Visibility = Visibility.Collapsed;
196-
TxtInfo.Visibility = Visibility.Visible;
197194
BtnDownload.IsEnabled = true;
198195

199196
if (MessageBox.Show(UpdateNowText, Title, MessageBoxButton.YesNo, MessageBoxImage.Question) == MessageBoxResult.Yes)

0 commit comments

Comments
 (0)