Update grid column widths after opening a new subtitle file.

Originally committed to SVN as r4800.
This commit is contained in:
Thomas Goyne 2010-10-11 20:05:59 +00:00
parent dade679145
commit fcba0c8e2a

View file

@ -713,6 +713,7 @@ void FrameMain::LoadSubtitles (wxString filename,wxString charset) {
SubsGrid->LoadDefault();
StandardPaths::SetPathValue(_T("?script"),_T(""));
}
SubsGrid->SetColumnWidths();
}
catch (agi::FileNotFoundError const&) {
wxMessageBox(filename + L" not found.", L"Error", wxOK | wxICON_ERROR, NULL);