void GuiWorkArea::updateScreen()
{
GuiPainter pain(&screen_);
- verticalScrollBar()->show();
buffer_view_->draw(pain);
}
void TabWorkArea::showBar(bool show)
{
+ tabBar()->setEnabled(show);
tabBar()->setVisible(show);
}
{
GuiWorkArea * wa = new GuiWorkArea(buffer, view);
wa->setUpdatesEnabled(false);
- // Hide tabbar if there's no tab (avoid a resize when hiding it again).
- showBar(count() > 0);
addTab(wa, wa->windowTitle());
QObject::connect(wa, SIGNAL(titleChanged(GuiWorkArea *)),
this, SLOT(updateTabText(GuiWorkArea *)));