Skip to content
Browse files

Don't refresh the whole tree when changing the watched status on a vi…

…deo, this avoids us losing our place and is faster.
  • Loading branch information...
1 parent 1debfc6 commit 7fd0a8c47b6e773fd1370870eea0a0575e5757da @stuartm stuartm committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 mythtv/programs/mythfrontend/videodlg.cpp
View
4 mythtv/programs/mythfrontend/videodlg.cpp
@@ -3402,8 +3402,8 @@ void VideoDialog::ToggleWatched()
{
metadata->SetWatched(!metadata->GetWatched());
metadata->UpdateDatabase();
-
- refreshData();
+ GetItemCurrent()->DisplayState(WatchedToState(metadata->GetWatched()),
+ "watchedstate");
}
}

0 comments on commit 7fd0a8c

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