fix: check state when completing commands (#5401)

This commit is contained in:
nerix
2024-06-19 14:46:54 +02:00
committed by GitHub
parent b83d8ec9e3
commit 052dbd7d2c
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -420,7 +420,7 @@ std::pair<bool, QStringList> PluginController::updateCustomCompletions(
for (const auto &[name, pl] : this->plugins())
{
if (!pl->error().isNull())
if (!pl->error().isNull() || pl->state_ == nullptr)
{
continue;
}