[Client] Restore the bracket info tooltip when idle

retranslateUi() used to install the static "Why this bracket?" tooltip, but it now calls displayEstimate(), which returned early while no estimate existed. That left the info button without its idle tooltip.

Set the fallback where displayEstimate() owns the button's tooltip. An existing estimate still wins, and a language change refreshes the text.
This commit is contained in:
Lukas Brübach 2026-11-04 05:40:31 +01:00
parent 9798564639
commit 498e436bf9

View file

@ -241,6 +241,7 @@ void CommanderBracketWidget::onEstimateBracketFinished(quint64 id,
void CommanderBracketWidget::displayEstimate() void CommanderBracketWidget::displayEstimate()
{ {
if (!hasEstimate) { if (!hasEstimate) {
bracketInfoButton->setToolTip(tr("Why this bracket?"));
return; return;
} }