mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-13 11:42:38 +03:00
FileManager: Change read_i32 call to read_bool
The FileManager/Window/Maximized flag was incorrectly read from the ConfigServer using read_i32 instead of the intended read_bool function call. It is now being read with the correct type :^)
This commit is contained in:
parent
827bf5232e
commit
bb399c6955
Notes:
sideshowbarker
2024-07-18 05:16:49 +09:00
Author: https://github.com/andyjansson 🔰 Commit: https://github.com/SerenityOS/serenity/commit/bb399c6955b Pull-request: https://github.com/SerenityOS/serenity/pull/9611
@ -433,7 +433,7 @@ int run_in_windowed_mode(String initial_location, String entry_focused_on_init)
|
||||
auto top = Config::read_i32("FileManager", "Window", "Top", 75);
|
||||
auto width = Config::read_i32("FileManager", "Window", "Width", 640);
|
||||
auto height = Config::read_i32("FileManager", "Window", "Height", 480);
|
||||
auto was_maximized = Config::read_i32("FileManager", "Window", "Maximized", false);
|
||||
auto was_maximized = Config::read_bool("FileManager", "Window", "Maximized", false);
|
||||
|
||||
auto& widget = window->set_main_widget<GUI::Widget>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user