mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:34:59 +00:00
config: Allow setting a key to the empty string
This commit is contained in:
parent
a67bbf1ac4
commit
e11fb83bb7
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
return 0;
|
||||
}
|
||||
|
||||
if (!value_to_write.is_empty()) {
|
||||
if (!value_to_write.is_null()) {
|
||||
Config::write_string(domain, group, key, value_to_write);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue