mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 08:10:11 +00:00
NOISSUE force kill button to reevaluate its style on state change
This commit is contained in:
parent
359905a8ef
commit
5a7c1f9edf
@ -141,6 +141,9 @@ void InstanceWindow::updateLaunchButtons()
|
||||
m_killButton->setObjectName("launchButton");
|
||||
m_killButton->setToolTip(tr("Launch the instance"));
|
||||
}
|
||||
// NOTE: this is a hack to force the button to recalculate its style
|
||||
m_killButton->setStyleSheet("/* */");
|
||||
m_killButton->setStyleSheet(QString());
|
||||
}
|
||||
|
||||
void InstanceWindow::on_btnLaunchMinecraftOffline_clicked()
|
||||
|
Loading…
Reference in New Issue
Block a user