only enable ssh button on Linux

pull/13723/head
Steven Powell 2022-03-03 01:14:25 +00:00
parent 728881e7fe
commit d556f25e5f
1 changed files with 2 additions and 0 deletions

View File

@ -380,7 +380,9 @@ void Window::updateButtons()
if (clusterHash.status() == "Running") {
startButton->setEnabled(false);
stopButton->setEnabled(true);
#if __linux__
sshButton->setEnabled(true);
#endif
dashboardButton->setEnabled(true);
} else {
startButton->setEnabled(true);