Ticket #2389: update-tab.diff

File update-tab.diff, 495 bytes (added by heto, 11 years ago)

fix the issue of the tab not updating when a command-line application changes its label

  • src/apps/terminal/TermWindow.cpp

     
    184184        session->windowTitle = title;
    185185        BTab* tab = fTabView->TabAt(index);
    186186        tab->SetLabel(session->windowTitle.String());
     187        fTabView->Invalidate(fTabView->TabFrame(index));
    187188        if (index == fTabView->Selection())
    188189            SetTitle(session->windowTitle.String());
    189190    }