From e007059969ca8c4264efc09ff0decac48a65458f Mon Sep 17 00:00:00 2001 From: Ivandro Ismael Date: Tue, 14 Mar 2017 04:37:48 +0000 Subject: [PATCH] GetDictionaries] - Minor fix for cursor state. --- src/Forms/GetDictionaries.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Forms/GetDictionaries.cs b/src/Forms/GetDictionaries.cs index 88043e3f16..902ce9926f 100644 --- a/src/Forms/GetDictionaries.cs +++ b/src/Forms/GetDictionaries.cs @@ -122,7 +122,6 @@ private void buttonDownload_Click(object sender, EventArgs e) var wc = new WebClient { Proxy = Utilities.GetProxy() }; wc.DownloadDataCompleted += wc_DownloadDataCompleted; wc.DownloadDataAsync(new Uri(url)); - Cursor = Cursors.Default; } catch (Exception exception) { @@ -137,6 +136,7 @@ private void buttonDownload_Click(object sender, EventArgs e) private void wc_DownloadDataCompleted(object sender, DownloadDataCompletedEventArgs e) { + Cursor = Cursors.Default; if (e.Error != null && _xmlName == "Nikse.SubtitleEdit.Resources.HunspellDictionaries.xml.gz") { MessageBox.Show("Unable to connect to extensions.services.openoffice.org... Switching host - please re-try!");