mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-27 09:01:48 +01:00
Fixed a major fail. Launching updater has been fixed.
Didn't even grab the dialog result. Related to issue #895
This commit is contained in:
parent
b5022b593d
commit
21181b1418
@ -974,7 +974,7 @@ namespace DS4Windows.Forms
|
|||||||
DialogResult result = DialogResult.No;
|
DialogResult result = DialogResult.No;
|
||||||
this.Invoke((System.Action)(() =>
|
this.Invoke((System.Action)(() =>
|
||||||
{
|
{
|
||||||
MessageBox.Show(Properties.Resources.DownloadVersion.Replace("*number*", newversion),
|
result = MessageBox.Show(Properties.Resources.DownloadVersion.Replace("*number*", newversion),
|
||||||
Properties.Resources.DS4Update, MessageBoxButtons.YesNo, MessageBoxIcon.Question);
|
Properties.Resources.DS4Update, MessageBoxButtons.YesNo, MessageBoxIcon.Question);
|
||||||
}));
|
}));
|
||||||
|
|
||||||
@ -1013,8 +1013,11 @@ Properties.Resources.DS4Update, MessageBoxButtons.YesNo, MessageBoxIcon.Question
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (launchUpdate)
|
if (launchUpdate)
|
||||||
|
{
|
||||||
|
this.BeginInvoke((System.Action)(() =>
|
||||||
{
|
{
|
||||||
Close();
|
Close();
|
||||||
|
}));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -2383,7 +2386,7 @@ Properties.Resources.DS4Update, MessageBoxButtons.YesNo, MessageBoxIcon.Question
|
|||||||
DialogResult result = DialogResult.No;
|
DialogResult result = DialogResult.No;
|
||||||
this.Invoke((System.Action)(() =>
|
this.Invoke((System.Action)(() =>
|
||||||
{
|
{
|
||||||
MessageBox.Show(Properties.Resources.DownloadVersion.Replace("*number*", newversion2),
|
result = MessageBox.Show(Properties.Resources.DownloadVersion.Replace("*number*", newversion2),
|
||||||
Properties.Resources.DS4Update, MessageBoxButtons.YesNo, MessageBoxIcon.Question);
|
Properties.Resources.DS4Update, MessageBoxButtons.YesNo, MessageBoxIcon.Question);
|
||||||
}));
|
}));
|
||||||
|
|
||||||
@ -2420,8 +2423,11 @@ Properties.Resources.DS4Update, MessageBoxButtons.YesNo, MessageBoxIcon.Question
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (launchUpdate)
|
if (launchUpdate)
|
||||||
|
{
|
||||||
|
this.BeginInvoke((System.Action)(() =>
|
||||||
{
|
{
|
||||||
Close();
|
Close();
|
||||||
|
}));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user