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:
@@ -337,7 +337,7 @@ void LauncherWindow::MessageReceived(BMessage* message)
|
|||||||
case CLOSE_TAB: {
|
case CLOSE_TAB: {
|
||||||
printf("CLOSE_TAB\n");
|
printf("CLOSE_TAB\n");
|
||||||
if (m_tabView->CountTabs() > 1)
|
if (m_tabView->CountTabs() > 1)
|
||||||
delete m_tabView->RemoveTab(m_tabView->FocusTab());
|
delete m_tabView->RemoveTab(m_tabView->Selection());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user