From 359905a8ef6fbaeda36a5780883dc753fe060401 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Fri, 5 Feb 2021 02:46:09 +0100 Subject: [PATCH] NOISSUE set instance dialog launch/kill button object name --- application/InstanceWindow.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/application/InstanceWindow.cpp b/application/InstanceWindow.cpp index 02c1bb23b..3acff1d34 100644 --- a/application/InstanceWindow.cpp +++ b/application/InstanceWindow.cpp @@ -123,12 +123,14 @@ void InstanceWindow::updateLaunchButtons() { m_launchOfflineButton->setEnabled(false); m_killButton->setText(tr("Kill")); + m_killButton->setObjectName("killButton"); m_killButton->setToolTip(tr("Kill the running instance")); } else if(!m_instance->canLaunch()) { m_launchOfflineButton->setEnabled(false); m_killButton->setText(tr("Launch")); + m_killButton->setObjectName("launchButton"); m_killButton->setToolTip(tr("Launch the instance")); m_killButton->setEnabled(false); } @@ -136,6 +138,7 @@ void InstanceWindow::updateLaunchButtons() { m_launchOfflineButton->setEnabled(true); m_killButton->setText(tr("Launch")); + m_killButton->setObjectName("launchButton"); m_killButton->setToolTip(tr("Launch the instance")); } }