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