From e766cfbda7cf905c6490314822af1038e1f26b3f Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Wed, 15 Apr 2020 13:47:06 +0000 Subject: [PATCH] fix liza... git-svn-id: svn://kolibrios.org@7794 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/TWB/links.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/programs/cmm/TWB/links.h b/programs/cmm/TWB/links.h index 88f1b02f55..003c61c6b8 100644 --- a/programs/cmm/TWB/links.h +++ b/programs/cmm/TWB/links.h @@ -98,9 +98,13 @@ bool LinksArray::HoverAndProceed(dword mx, my, list_y, list_first) } if (mouse.mkm) && (mouse.up) { if (key_modifier&KEY_LSHIFT) || (key_modifier&KEY_RSHIFT) { - ProcessEvent(IN_NEW_TAB); + open_new_window = true; + EventClickLink(PageLinks.GetURL(PageLinks.active)); + open_new_window = false; } else { - ProcessEvent(IN_NEW_WINDOW); + open_new_tab = true; + EventClickLink(PageLinks.GetURL(PageLinks.active)); + open_new_tab = false; } return false; }