Actually remove these unnecessary lines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39690 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
b90b61272e
commit
8417651ec7
@ -1068,9 +1068,6 @@ void
|
|||||||
TermWindow::_NewTab()
|
TermWindow::_NewTab()
|
||||||
{
|
{
|
||||||
if (fTabView->CountTabs() < kMaxTabs) {
|
if (fTabView->CountTabs() < kMaxTabs) {
|
||||||
// if (fFullScreen)
|
|
||||||
// _ActiveTermView()->ScrollBar()->Show();
|
|
||||||
|
|
||||||
ActiveProcessInfo info;
|
ActiveProcessInfo info;
|
||||||
if (_ActiveTermView()->GetActiveProcessInfo(info))
|
if (_ActiveTermView()->GetActiveProcessInfo(info))
|
||||||
_AddTab(NULL, info.CurrentDirectory());
|
_AddTab(NULL, info.CurrentDirectory());
|
||||||
@ -1183,8 +1180,6 @@ TermWindow::_RemoveTab(int32 index)
|
|||||||
|
|
||||||
delete session;
|
delete session;
|
||||||
delete fTabView->RemoveTab(index);
|
delete fTabView->RemoveTab(index);
|
||||||
// if (fFullScreen)
|
|
||||||
// _ActiveTermView()->ScrollBar()->Hide();
|
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
PostMessage(B_QUIT_REQUESTED);
|
PostMessage(B_QUIT_REQUESTED);
|
||||||
|
Loading…
Reference in New Issue
Block a user