mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-13 14:42:29 +02:00
Merge pull request #3076 from cptpcrd/reload-config
Fix reloading config
This commit is contained in:
@ -162,6 +162,7 @@ void Config::load(const std::string &config) {
|
|||||||
}
|
}
|
||||||
config_file_ = file.value();
|
config_file_ = file.value();
|
||||||
spdlog::info("Using configuration file {}", config_file_);
|
spdlog::info("Using configuration file {}", config_file_);
|
||||||
|
config_ = Json::Value();
|
||||||
setupConfig(config_, config_file_, 0);
|
setupConfig(config_, config_file_, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user