1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:07:45 +00:00

LibVT: Execute DragOperation after resetting active hyperlink

This commit is contained in:
Musab Kılıç 2021-09-02 21:53:00 +03:00 committed by Andreas Kling
parent 724f45c784
commit 7f46022e66

View file

@ -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;
} }