diff --git a/src/launcher/app_provider.cpp b/src/launcher/app_provider.cpp index 72b73cbfb4..0dba5a643b 100644 --- a/src/launcher/app_provider.cpp +++ b/src/launcher/app_provider.cpp @@ -289,9 +289,9 @@ std::vector AppProvider::query(std::string_view text) const { scored.emplace_back(s, std::make_pair(&entry, nullptr)); } - if (!m_config->config().shell.launcher.showAppActions) + if (m_config == nullptr || !m_config->config().shell.launcher.showAppActions) { continue; - + } for (const auto& action : entry.actions) { const double actionScore = scoreAction(pattern, action); if (FuzzyMatch::isMatch(actionScore)) {