Skip to content

Commit 4dbdb19

Browse files
committed
Implement starting stopped VMs with item activation
1 parent 907148b commit 4dbdb19

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/qt/manager/qt_manager_mainwindow.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,8 @@ void ManagerMainWindow::on_tableWidget_itemActivated(QTableWidgetItem *item)
741741
ui->pushButtonPause->click();
742742
else
743743
ui->pushButtonStartStop->click();
744+
} else if (processes[selectedVMIndex].state() == QProcess::NotRunning) {
745+
ui->pushButtonStartStop->click();
744746
}
745747
}
746748

0 commit comments

Comments
 (0)