TabLabel sets its own tooltip so all tabs have a tooltip rather than just devices

This commit is contained in:
Adam Honse
2026-03-25 11:06:30 -05:00
parent e8e0362d85
commit b7f8eeb034
2 changed files with 2 additions and 2 deletions

View File

@@ -92,6 +92,7 @@ void TabLabel::UpdateLabel(bool in_constructor)
\*-------------------------------------------------*/
QApplication* app = static_cast<QApplication *>(QApplication::instance());
ui->name->setText(app->translate(context, label));
setToolTip(app->translate(context, label));
}
else if(in_constructor)
{
@@ -100,5 +101,6 @@ void TabLabel::UpdateLabel(bool in_constructor)
| translatable as label buffer may not exist |
\*-------------------------------------------------*/
ui->name->setText(label);
setToolTip(label);
}
}