Skip to content

Commit

Permalink
Don't refresh the whole tree when changing the watched status on a vi…
Browse files Browse the repository at this point in the history
…deo, this avoids us losing our place and is faster.
  • Loading branch information
stuartm committed May 3, 2012
1 parent 1debfc6 commit 7fd0a8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mythtv/programs/mythfrontend/videodlg.cpp
Expand Up @@ -3402,8 +3402,8 @@ void VideoDialog::ToggleWatched()
{
metadata->SetWatched(!metadata->GetWatched());
metadata->UpdateDatabase();

refreshData();
GetItemCurrent()->DisplayState(WatchedToState(metadata->GetWatched()),
"watchedstate");
}
}

Expand Down

0 comments on commit 7fd0a8c

Please sign in to comment.