Skip to content

Commit

Permalink
Merge branch 'v1.4.4' into vNext
Browse files Browse the repository at this point in the history
  • Loading branch information
daviunic committed Apr 17, 2019
2 parents 4efedcf + 7350d16 commit 3139df8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 86BoxManager/frmMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,7 @@ private void createADesktopShortcutToolStripMenuItem_Click(object sender, EventA
//Starts/stops selected VM when enter is pressed
private void lstVMs_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
if (e.KeyCode == Keys.Enter && lstVMs.SelectedItems.Count > 0)
{
VM vm = (VM)lstVMs.SelectedItems[0].Tag;
if (vm.Status == VM.STATUS_RUNNING)
Expand Down

0 comments on commit 3139df8

Please sign in to comment.