Update grid column widths after opening a new subtitle file.
Originally committed to SVN as r4800.
This commit is contained in:
parent
dade679145
commit
fcba0c8e2a
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue