Skip to content
This repository was archived by the owner on Aug 23, 2025. It is now read-only.

Commit b776700

Browse files
committed
Fixed issue #86
Missing VMCountRefresh call when 86Box.exe process exits
1 parent 9b038e9 commit b776700

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

86BoxManager/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@
3131
// You can specify all the values or you can default the Build and Revision Numbers
3232
// by using the '*' as shown below:
3333

34-
[assembly: AssemblyVersion("1.7.1.0")]
35-
[assembly: AssemblyFileVersion("1.7.1.0")]
34+
[assembly: AssemblyVersion("1.7.2.0")]
35+
[assembly: AssemblyFileVersion("1.7.2.0")]

86BoxManager/frmMain.cs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,8 @@ private void backgroundWorker_RunWorkerCompleted(object sender, RunWorkerComplet
381381
}
382382
}
383383
}
384+
385+
VMCountRefresh();
384386
}
385387

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

689691
VMSort(sortColumn, sortOrder);
690-
692+
VMCountRefresh();
691693
}
692694

693695
//Sends a running/pause VM a request to stop without asking the user for confirmation
@@ -1130,7 +1132,6 @@ protected override void WndProc(ref Message m)
11301132
btnConfigure.Enabled = true;
11311133
}
11321134
}
1133-
11341135
VMCountRefresh();
11351136
}
11361137
else if (m.WParam.ToInt32() == 0) //VM was resumed
@@ -1155,7 +1156,6 @@ protected override void WndProc(ref Message m)
11551156
btnConfigure.Enabled = true;
11561157
}
11571158
}
1158-
11591159
VMCountRefresh();
11601160
}
11611161
}
@@ -1184,7 +1184,6 @@ protected override void WndProc(ref Message m)
11841184
btnCtrlAltDel.Enabled = false;
11851185
}
11861186
}
1187-
11881187
VMCountRefresh();
11891188
}
11901189
else if (m.WParam.ToInt32() == 0) //A dialog was closed
@@ -1214,7 +1213,6 @@ protected override void WndProc(ref Message m)
12141213
btnCtrlAltDel.Enabled = true;
12151214
}
12161215
}
1217-
12181216
VMCountRefresh();
12191217
}
12201218
}
@@ -1271,7 +1269,6 @@ protected override void WndProc(ref Message m)
12711269
}
12721270
}
12731271
}
1274-
12751272
VMCountRefresh();
12761273
}
12771274
//This is the WM_COPYDATA message, used here to pass command line args to an already running instance

0 commit comments

Comments
 (0)