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

LibVT: Snapshot the URL we're opening a context menu for

Otherwise it may get lost due to a leave event firing in the widget.
This commit is contained in:
Andreas Kling 2020-05-09 18:45:45 +02:00
parent 31ec4de0ee
commit c3aa249a36
2 changed files with 9 additions and 4 deletions

View file

@ -133,6 +133,9 @@ private:
String m_hovered_href;
String m_hovered_href_id;
// Snapshot of m_hovered_href when opening a context menu for a hyperlink.
String m_context_menu_href;
bool m_should_beep { false };
bool m_belling { false };
bool m_alt_key_held { false };