mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:57:35 +00:00
LibVT: Execute DragOperation after resetting active hyperlink
This commit is contained in:
parent
724f45c784
commit
7f46022e66
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