mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 08:10:11 +00:00
NOISSUE set instance dialog launch/kill button object name
This commit is contained in:
parent
8eee4e3e6c
commit
359905a8ef
@ -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"));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user