Emit Window::layerChanged signal

Otherwise it's not possible to change layers at runtime.
This commit is contained in:
Vlad Zahorodnii 2023-05-13 12:18:12 +03:00
parent 541497ff5f
commit 497d50c4df

View file

@ -91,6 +91,7 @@ Window::KeyboardInteractivity Window::keyboardInteractivity() const
void Window::setLayer(Layer layer) void Window::setLayer(Layer layer)
{ {
d->layer = layer; d->layer = layer;
Q_EMIT layerChanged();
} }
void Window::setScope(const QString &scope) void Window::setScope(const QString &scope)