Add missing call to Widget::onVisible()

This is not necessary at the moment but just in case if in the future
we add a signal or Widget::onVisible() starts doing something.
This commit is contained in:
David Capello 2024-11-19 14:16:07 -03:00
parent 2e17f27237
commit 59ff0d801a

View File

@ -716,6 +716,7 @@ void Window::onSetText()
void Window::onVisible(bool visible)
{
Widget::onVisible(visible);
if (get_multiple_displays() && m_display) {
display()->nativeWindow()->setVisible(visible);
}