Skip to content
Permalink
Browse files

Fix saving edits after editor cleanup.

Leftover argument caused edits to save as "autosave" lists, so that they
weren't actually applied during playback, but looked correct in editing.

Refs #9535

Signed-off-by: Michael T. Dean <mdean@mythtv.org>
  • Loading branch information...
stichnot authored and sphery committed Feb 4, 2012
1 parent 07285bb commit 05b8be76e24adf30fbf6e3a5b19cc1cc057feb21
Showing with 2 additions and 2 deletions.
  1. +2 −2 mythtv/libs/libmythtv/mythplayer.cpp
@@ -3743,7 +3743,7 @@ void MythPlayer::DisableEdit(bool save)
if (!save)
deleteMap.LoadMap(totalFrames);
// Unconditionally save to remove temporary marks from the DB.
deleteMap.SaveMap(totalFrames, player_ctx);
deleteMap.SaveMap(totalFrames);
deleteMap.TrackerReset(framesPlayed, totalFrames);
deleteMap.SetFileEditing(false);
player_ctx->LockPlayingInfo(__FILE__, __LINE__);
@@ -3854,7 +3854,7 @@ bool MythPlayer::HandleProgramEditorActions(QStringList &actions,
}
else if (action == ACTION_SAVEMAP)
{
deleteMap.SaveMap(totalFrames, player_ctx);
deleteMap.SaveMap(totalFrames);
refresh = true;
}
else if (action == "EDIT" || action == "SAVEEXIT")

0 comments on commit 05b8be7

Please sign in to comment.
You can’t perform that action at this time.