Skip to content

Commit

Permalink
Fixed issue #86
Browse files Browse the repository at this point in the history
Missing VMCountRefresh call when 86Box.exe process exits
  • Loading branch information
daviunic committed Nov 18, 2020
1 parent 9b038e9 commit b776700
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
4 changes: 2 additions & 2 deletions 86BoxManager/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:

[assembly: AssemblyVersion("1.7.1.0")]
[assembly: AssemblyFileVersion("1.7.1.0")]
[assembly: AssemblyVersion("1.7.2.0")]
[assembly: AssemblyFileVersion("1.7.2.0")]
9 changes: 3 additions & 6 deletions 86BoxManager/frmMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,8 @@ private void backgroundWorker_RunWorkerCompleted(object sender, RunWorkerComplet
}
}
}

VMCountRefresh();
}

//Enable/disable relevant menu items depending on selected VM's status
Expand Down Expand Up @@ -687,7 +689,7 @@ private void VMStart()
}

VMSort(sortColumn, sortOrder);

VMCountRefresh();
}

//Sends a running/pause VM a request to stop without asking the user for confirmation
Expand Down Expand Up @@ -1130,7 +1132,6 @@ protected override void WndProc(ref Message m)
btnConfigure.Enabled = true;
}
}

VMCountRefresh();
}
else if (m.WParam.ToInt32() == 0) //VM was resumed
Expand All @@ -1155,7 +1156,6 @@ protected override void WndProc(ref Message m)
btnConfigure.Enabled = true;
}
}

VMCountRefresh();
}
}
Expand Down Expand Up @@ -1184,7 +1184,6 @@ protected override void WndProc(ref Message m)
btnCtrlAltDel.Enabled = false;
}
}

VMCountRefresh();
}
else if (m.WParam.ToInt32() == 0) //A dialog was closed
Expand Down Expand Up @@ -1214,7 +1213,6 @@ protected override void WndProc(ref Message m)
btnCtrlAltDel.Enabled = true;
}
}

VMCountRefresh();
}
}
Expand Down Expand Up @@ -1271,7 +1269,6 @@ protected override void WndProc(ref Message m)
}
}
}

VMCountRefresh();
}
//This is the WM_COPYDATA message, used here to pass command line args to an already running instance
Expand Down

0 comments on commit b776700

Please sign in to comment.