mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-26 16:41:50 +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);
|
||||||
}));
|
}));
|
||||||
|
|
||||||
@ -1014,7 +1014,10 @@ Properties.Resources.DS4Update, MessageBoxButtons.YesNo, MessageBoxIcon.Question
|
|||||||
|
|
||||||
if (launchUpdate)
|
if (launchUpdate)
|
||||||
{
|
{
|
||||||
Close();
|
this.BeginInvoke((System.Action)(() =>
|
||||||
|
{
|
||||||
|
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);
|
||||||
}));
|
}));
|
||||||
|
|
||||||
@ -2421,7 +2424,10 @@ Properties.Resources.DS4Update, MessageBoxButtons.YesNo, MessageBoxIcon.Question
|
|||||||
|
|
||||||
if (launchUpdate)
|
if (launchUpdate)
|
||||||
{
|
{
|
||||||
Close();
|
this.BeginInvoke((System.Action)(() =>
|
||||||
|
{
|
||||||
|
Close();
|
||||||
|
}));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user