mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-09 23:25:57 +01:00
Fix plugin config breakage (#1687)
This commit is contained in:
parent
51ce3ddd67
commit
141365cbc1
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ void CConfigManager::configSetValueSafe(const std::string& COMMAND, const std::s
|
||||||
for (auto& [handle, pMap] : pluginConfigs) {
|
for (auto& [handle, pMap] : pluginConfigs) {
|
||||||
auto it = std::find_if(pMap->begin(), pMap->end(), [&](const auto& other) { return other.first == COMMAND; });
|
auto it = std::find_if(pMap->begin(), pMap->end(), [&](const auto& other) { return other.first == COMMAND; });
|
||||||
if (it == pMap->end()) {
|
if (it == pMap->end()) {
|
||||||
return; // plugin vars do not err, so we silently ignore.
|
continue; // May be in another plugin
|
||||||
}
|
}
|
||||||
|
|
||||||
CONFIGENTRY = &it->second;
|
CONFIGENTRY = &it->second;
|
||||||
|
|
Loading…
Reference in a new issue