mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-28 21:26:22 +00:00
LibGUI: Turn GTextBox into a wrapper around a single-line GTextEditor.
This commit is contained in:
parent
981623f4ee
commit
313ac51832
Notes:
sideshowbarker
2024-07-19 14:46:52 +09:00
Author: https://github.com/awesomekling
Commit: 313ac51832
11 changed files with 25 additions and 260 deletions
|
@ -69,8 +69,8 @@ int main(int argc, char** argv)
|
|||
progressbar->set_frame_shadow(GFrame::Shadow::Sunken);
|
||||
progressbar->set_frame_thickness(1);
|
||||
|
||||
location_textbox->on_return_pressed = [directory_view] (auto& editor) {
|
||||
directory_view->open(editor.text());
|
||||
location_textbox->on_return_pressed = [directory_view, location_textbox] {
|
||||
directory_view->open(location_textbox->text());
|
||||
};
|
||||
|
||||
file_system_model->on_selection_changed = [&] (auto& index) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue