mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-20 08:18:55 +00:00
LibVT: Execute DragOperation after resetting active hyperlink
This commit is contained in:
parent
724f45c784
commit
7f46022e66
Notes:
sideshowbarker
2024-07-18 04:51:29 +09:00
Author: https://github.com/musabkilic
Commit: 7f46022e66
Pull-request: https://github.com/SerenityOS/serenity/pull/9755
1 changed files with 1 additions and 1 deletions
|
@ -850,12 +850,12 @@ void TerminalWidget::mousemove_event(GUI::MouseEvent& event)
|
||||||
auto drag_operation = GUI::DragOperation::construct();
|
auto drag_operation = GUI::DragOperation::construct();
|
||||||
drag_operation->set_text(m_active_href);
|
drag_operation->set_text(m_active_href);
|
||||||
drag_operation->set_data("text/uri-list", m_active_href);
|
drag_operation->set_data("text/uri-list", m_active_href);
|
||||||
drag_operation->exec();
|
|
||||||
|
|
||||||
m_active_href = {};
|
m_active_href = {};
|
||||||
m_active_href_id = {};
|
m_active_href_id = {};
|
||||||
m_hovered_href = {};
|
m_hovered_href = {};
|
||||||
m_hovered_href_id = {};
|
m_hovered_href_id = {};
|
||||||
|
drag_operation->exec();
|
||||||
update();
|
update();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue