mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-26 02:54:20 +01:00
Fixed issue with app not being restored from launching a second session.
Related to issue #417.
This commit is contained in:
parent
fb7c731fe5
commit
ad530e4d20
@ -157,14 +157,14 @@ namespace DS4Windows
|
||||
/// </summary>
|
||||
/// <param name="frm"></param>
|
||||
private delegate void SetFormVisableDelegate(Form frm);
|
||||
static private void ThreadFormVisable(Form frm)
|
||||
private static void ThreadFormVisable(Form frm)
|
||||
{
|
||||
if (frm is DS4Form)
|
||||
{
|
||||
// display the form and bring to foreground.
|
||||
frm.WindowState = FormWindowState.Normal;
|
||||
frm.Focus();
|
||||
frm.Activate();
|
||||
DS4Form temp = (DS4Form)frm;
|
||||
temp.Show();
|
||||
temp.WindowState = FormWindowState.Normal;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user