Skip to content

Commit ad30211

Browse files
rolivavRodrigo Oliva
andauthored
Update icon label tooltip when the tab tooltip changes (#322)
Co-authored-by: Rodrigo Oliva <Rodrigo.Oliva@king.com>
1 parent 48406da commit ad30211

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/DockWidgetTab.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -677,6 +677,9 @@ bool CDockWidgetTab::event(QEvent *e)
677677
{
678678
const auto text = toolTip();
679679
d->TitleLabel->setToolTip(text);
680+
if (d->IconLabel) {
681+
d->IconLabel->setToolTip(text);
682+
}
680683
}
681684
#endif
682685
return Super::event(e);

0 commit comments

Comments
 (0)