mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-25 07:31:33 +08:00
Update icon label tooltip when the tab tooltip changes (#322)
Co-authored-by: Rodrigo Oliva <Rodrigo.Oliva@king.com>
This commit is contained in:
parent
48406da6ea
commit
ad30211dae
@ -677,6 +677,9 @@ bool CDockWidgetTab::event(QEvent *e)
|
|||||||
{
|
{
|
||||||
const auto text = toolTip();
|
const auto text = toolTip();
|
||||||
d->TitleLabel->setToolTip(text);
|
d->TitleLabel->setToolTip(text);
|
||||||
|
if (d->IconLabel) {
|
||||||
|
d->IconLabel->setToolTip(text);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
return Super::event(e);
|
return Super::event(e);
|
||||||
|
Loading…
Reference in New Issue
Block a user