mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-24 02:09:28 +00:00
LibWeb: InProcessWebView::selected_text() should use the focused frame
This commit is contained in:
@@ -115,8 +115,7 @@ void InProcessWebView::select_all()
|
||||
|
||||
String InProcessWebView::selected_text() const
|
||||
{
|
||||
// FIXME: Use focused frame
|
||||
return page().main_frame().selected_text();
|
||||
return page().focused_frame().selected_text();
|
||||
}
|
||||
|
||||
void InProcessWebView::page_did_layout()
|
||||
|
||||
Reference in New Issue
Block a user