it must also be possible for the status to be decreased again

this fixes the autohide panel being broken the first time an applet
like kickoff opens. when it closes again, the status has to be
decreased again
This commit is contained in:
Marco Martin 2017-01-19 14:25:16 +01:00
parent 17830b10f8
commit 46c87d5ac3

View File

@ -123,7 +123,7 @@ void ContainmentPrivate::checkStatus(Plasma::Types::ItemStatus appletStatus)
}
}
if (appletStatus > q->status() && appletStatus != Plasma::Types::HiddenStatus) {
if (appletStatus != Plasma::Types::HiddenStatus) {
q->setStatus(appletStatus);
}
}