Update icon label tooltip when the tab tooltip changes (#322)
Co-authored-by: Rodrigo Oliva <Rodrigo.Oliva@king.com>
This commit is contained in:
@@ -677,6 +677,9 @@ bool CDockWidgetTab::event(QEvent *e)
|
||||
{
|
||||
const auto text = toolTip();
|
||||
d->TitleLabel->setToolTip(text);
|
||||
if (d->IconLabel) {
|
||||
d->IconLabel->setToolTip(text);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
return Super::event(e);
|
||||
|
||||
Reference in New Issue
Block a user