Fix closing tabs.
git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@165 94f232f2-1747-11df-bad5-a5bfde151594
This commit is contained in:
parent
d3d066c322
commit
df621688c5
@ -337,7 +337,7 @@ void LauncherWindow::MessageReceived(BMessage* message)
|
||||
case CLOSE_TAB: {
|
||||
printf("CLOSE_TAB\n");
|
||||
if (m_tabView->CountTabs() > 1)
|
||||
delete m_tabView->RemoveTab(m_tabView->FocusTab());
|
||||
delete m_tabView->RemoveTab(m_tabView->Selection());
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user