Select the new tab when creating it via the menu.
git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@163 94f232f2-1747-11df-bad5-a5bfde151594
This commit is contained in:
parent
fafcdf7cd1
commit
714edff6e1
@ -110,6 +110,7 @@ LauncherWindow::LauncherWindow(BRect frame, const BMessenger& downloadListener,
|
||||
BMessage* newTabMessage = new BMessage(NEW_TAB);
|
||||
newTabMessage->AddString("url", "");
|
||||
newTabMessage->AddPointer("window", this);
|
||||
newTabMessage->AddBool("select", true);
|
||||
newItem = new BMenuItem("New tab", newTabMessage, 'T');
|
||||
menu->AddItem(newItem);
|
||||
newItem->SetTarget(be_app);
|
||||
|
Loading…
Reference in New Issue
Block a user