LibGUI: Remove redundant set_title() call in FilePicker (#4153)

This commit is contained in:
Zac 2020-11-25 03:41:44 +10:00 committed by GitHub
parent 5f2f31861c
commit 018eff802b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: sideshowbarker 2024-07-19 01:17:04 +09:00

View file

@ -96,7 +96,6 @@ FilePicker::FilePicker(Window* parent_window, Mode mode, Options options, const
set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/save.png"));
break;
}
set_title(m_mode == Mode::Open ? "Open File" : "Save File");
set_rect(200, 200, 700, 400);
auto& horizontal_container = set_main_widget<Widget>();
horizontal_container.set_layout<HorizontalBoxLayout>();