Skip to content
Browse files

Editor: Allow deleting "un-cut" areas.

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...
1 parent 585b232 commit a51c23739266fe000350e76a055533bd859fbc90 @sphery sphery committed Jan 26, 2011
Showing with 5 additions and 5 deletions.
  1. +2 −5 mythtv/libs/libmythtv/mythplayer.cpp
  2. +3 −0 mythtv/libs/libmythtv/tv_play.cpp
View
7 mythtv/libs/libmythtv/mythplayer.cpp
@@ -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")
{
View
3 mythtv/libs/libmythtv/tv_play.cpp
@@ -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"),

0 comments on commit a51c237

Please sign in to comment.
Something went wrong with that request. Please try again.