diff --git a/aegisub/src/subs_grid.cpp b/aegisub/src/subs_grid.cpp index a9b31061b..f6bab0f18 100644 --- a/aegisub/src/subs_grid.cpp +++ b/aegisub/src/subs_grid.cpp @@ -173,14 +173,6 @@ void SubtitlesGrid::OnPopupMenu(bool alternate) { menu.Append(MENU_INSERT_AFTER_VIDEO,_("Insert at video time (after)"),_T("Inserts a line after current, starting at video time"))->Enable(state); menu.AppendSeparator(); - // Video/time sync - //state = (video && VideoContext::Get()->IsLoaded()); - //menu.Append(MENU_SET_VIDEO_TO_START,_("Jump video to start"),_T("Sets current video time to start time"))->Enable(state); - //menu.Append(MENU_SET_VIDEO_TO_END,_("Jump video to end"),_T("Sets current video time to end time"))->Enable(state); - //menu.Append(MENU_SET_START_TO_VIDEO,_("Set start to video"),_T("Sets start times to current video time"))->Enable(state); - //menu.Append(MENU_SET_END_TO_VIDEO,_("Set end to video"),_T("Sets end times to current video time"))->Enable(state); - //menu.AppendSeparator(); - // Duplicate selection menu.Append(MENU_DUPLICATE,_("&Duplicate"),_("Duplicate the selected lines"))->Enable(continuous); menu.Append(MENU_DUPLICATE_NEXT_FRAME,_("&Duplicate and shift by 1 frame"),_("Duplicate lines and shift by one frame"))->Enable(continuous && VFR_Output.IsLoaded()); @@ -1312,7 +1304,6 @@ void SubtitlesGrid::DuplicateLines(int n1,int n2,bool nextFrame) { for (int i=n1;i<=n2;i++) { // Create if (i == n2) update = true; - //cur = new AssDialogue(GetDialogue(i+step)->data); cur = new AssDialogue(GetDialogue(i)->GetEntryData()); // Shift to next frame @@ -1324,7 +1315,6 @@ void SubtitlesGrid::DuplicateLines(int n1,int n2,bool nextFrame) { } // Insert - //InsertLine(cur,n1+step,false,update); InsertLine(cur,n2+step,true,update); step++; } @@ -1491,10 +1481,6 @@ void SubtitlesGrid::CommitChanges(bool force,bool videoOnly) { VideoContext::Get()->Stop(); } - // Export - //wxString workfile = VideoContext::Get()->GetTempWorkFile(); - //ass->Export(workfile); - // Update video if (VideoContext::Get()->IsLoaded()) VideoContext::Get()->Refresh(false,true);