Skip to content

Commit

Permalink
Editor: Allow deleting "un-cut" areas.
Browse files Browse the repository at this point in the history
Allow deleting un-cut areas to join surrounding cut areas.  This is a
shortcut that is more intuitive to most than the current approach.

Thanks to Jim Stichnoth for the suggestion.
  • Loading branch information
sphery committed Jan 27, 2011
1 parent 585b232 commit a51c237
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 2 additions & 5 deletions mythtv/libs/libmythtv/mythplayer.cpp
Expand Up @@ -3678,11 +3678,8 @@ bool MythPlayer::HandleProgramEditorActions(QStringList &actions,
}
else if (action == "DELETE")
{
if (IsInDelete(frame))
{
deleteMap.Delete(frame, totalFrames);
refresh = true;
}
deleteMap.Delete(frame, totalFrames);
refresh = true;
}
else if (action == "REVERT")
{
Expand Down
3 changes: 3 additions & 0 deletions mythtv/libs/libmythtv/tv_play.cpp
Expand Up @@ -8908,6 +8908,9 @@ void TV::ShowOSDCutpoint(PlayerContext *ctx, const QString &type)
osd->DialogAddButton(QObject::tr("Add New Cut"),
QString("DIALOG_CUTPOINT_NEWCUT_%1")
.arg(frame));
osd->DialogAddButton(QObject::tr("Join Surrounding Cuts"),
QString("DIALOG_CUTPOINT_DELETE_%1")
.arg(frame));
}
if ("EDIT_CUT_POINTS" == type)
osd->DialogAddButton(QObject::tr("Cut List Options"),
Expand Down

0 comments on commit a51c237

Please sign in to comment.