fix: check state when completing commands (#5401)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user