Check if shell needs updating when a handler is deregistered
This commit is contained in:
parent
c95642caec
commit
51890d1337
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user