* restore favorite languages in correct order
This commit is contained in:
parent
5b9931ba45
commit
2c8ac625d1
|
@ -46,7 +46,7 @@ public class SubtitlePanel extends AbstractSearchPanel<SubtitleProvider, Subtitl
|
||||||
|
|
||||||
// restore state
|
// restore state
|
||||||
languageModel.setSelectedItem(persistentSelectedLanguage.getValue());
|
languageModel.setSelectedItem(persistentSelectedLanguage.getValue());
|
||||||
languageModel.favorites().addAll(persistentFavorites.getValue());
|
languageModel.favorites().addAll(0, persistentFavorites.getValue());
|
||||||
|
|
||||||
// guess favorite languages
|
// guess favorite languages
|
||||||
if (languageModel.favorites().isEmpty()) {
|
if (languageModel.favorites().isEmpty()) {
|
||||||
|
|
Loading…
Reference in New Issue