aboutsummaryrefslogtreecommitdiff
path: root/application
diff options
context:
space:
mode:
Diffstat (limited to 'application')
-rw-r--r--application/InstanceWindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/application/InstanceWindow.cpp b/application/InstanceWindow.cpp
index 3acff1d3..5eeb6538 100644
--- a/application/InstanceWindow.cpp
+++ b/application/InstanceWindow.cpp
@@ -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()