permit always update dockRect variable

pull/1/head
Johan Smith Agudelo Rodriguez 8 years ago
parent 401e85ad8e
commit e3aac94824

@ -267,12 +267,12 @@ void VisibilityManagerPrivate::updateHiddenState()
inline void VisibilityManagerPrivate::setDockRect(const QRect &dockRect)
{
if (!view->containment() || this->dockRect == dockRect || view->containment()->isUserConfiguring())
if (!view->containment() || this->dockRect == dockRect)
return;
this->dockRect = dockRect;
if (mode == Dock::AlwaysVisible) {
if (mode == Dock::AlwaysVisible && !view->containment()->isUserConfiguring()) {
wm->setDockStruts(this->dockRect, view->containment()->location());
}
}

Loading…
Cancel
Save