From 083cf492f59529192b1a683fa9064ee2c2300c48 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 9 Dec 2012 18:52:07 +0000 Subject: [PATCH] Allow ctrl-click on hotlist toolbar to open in a new tab --- amiga/gui.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/amiga/gui.c b/amiga/gui.c index 1d523e65b..522f66aee 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -4339,7 +4339,13 @@ void ami_scroller_hook(struct Hook *hook,Object *object,struct IntuiMessage *msg case GID_HOTLIST: if(node = (struct Node *)GetTagData(SPEEDBAR_SelectedNode, 0, msg->IAddress)) { GetSpeedButtonNodeAttrs(node, SBNA_UserData, (ULONG *)&url, TAG_DONE); - browser_window_go(gwin->bw, url, NULL, true); + + ami_update_quals(gwin); + if(gwin->key_state & BROWSER_MOUSE_MOD_2) { + browser_window_create(url, gwin->bw, NULL, false, true); + } else { + browser_window_go(gwin->bw, url, NULL, true); + } } break; }