Don't overwrite stream url index for a model on an update

When the manual selection of stream resolution is enabled, the index of
the selected stream is saved in the model object. Don't overwrite this
value, if the model objects get updated, so that the value is persistent
even between sessions.
This commit is contained in:
0xboobface 2018-09-04 13:28:48 +02:00
parent 6383bfb372
commit e33c6a3d94
1 changed files with 0 additions and 1 deletions

View File

@ -532,7 +532,6 @@ public class ThumbCell extends StackPane {
this.model.setOnline(model.isOnline());
this.model.setPreview(model.getPreview());
this.model.setStreamResolution(model.getStreamResolution());
this.model.setStreamUrlIndex(model.getStreamUrlIndex());
this.model.setTags(model.getTags());
this.model.setUrl(model.getUrl());