Reappear help message when selection hidden

Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
This commit is contained in:
Haris Gušić
2021-10-12 13:35:57 +02:00
parent 0b31fcf4cb
commit 5b815e83d3
6 changed files with 46 additions and 23 deletions

View File

@@ -304,6 +304,16 @@ void SelectionWidget::moveEvent(QMoveEvent*)
}
}
void SelectionWidget::showEvent(QShowEvent*)
{
emit visibilityChanged();
}
void SelectionWidget::hideEvent(QHideEvent*)
{
emit visibilityChanged();
}
void SelectionWidget::updateColor(const QColor& c)
{
m_color = c;