Check if shell needs updating when a handler is deregistered

This commit is contained in:
David Edmundson 2013-12-11 15:57:06 +01:00
parent c95642caec
commit 51890d1337

View File

@ -148,8 +148,10 @@ void ShellManager::deregisterHandler(QObject * handler)
handler->disconnect(this);
}
if (d->currentHandler == handler)
if (d->currentHandler == handler) {
d->currentHandler = nullptr;
updateShell();
}
}
void ShellManager::requestShellUpdate()