Emit Output::scaleChanged() when the state changes

The scaleChanged signal was overlooked.
This commit is contained in:
Vlad Zahorodnii 2022-08-30 11:57:47 +03:00
parent c4b9626117
commit 0bf1183286

View file

@ -249,6 +249,9 @@ void Output::setState(const State &state)
if (oldGeometry != geometry()) {
Q_EMIT geometryChanged();
}
if (oldState.scale != state.scale) {
Q_EMIT scaleChanged();
}
if (oldState.modes != state.modes) {
Q_EMIT modesChanged();
}