* use only primary title for combobox completion
This commit is contained in:
parent
c68c5adb3a
commit
ac7a72c477
|
@ -152,7 +152,7 @@ public class SubtitlePanel extends AbstractSearchPanel<SubtitleProvider, Subtitl
|
||||||
protected Collection<String> getHistory(SubtitleProvider engine) throws Exception {
|
protected Collection<String> getHistory(SubtitleProvider engine) throws Exception {
|
||||||
List<String> names = new ArrayList<String>();
|
List<String> names = new ArrayList<String>();
|
||||||
for (SubtitleSearchResult it : MediaDetection.releaseInfo.getOpenSubtitlesIndex()) {
|
for (SubtitleSearchResult it : MediaDetection.releaseInfo.getOpenSubtitlesIndex()) {
|
||||||
names.addAll(it.getEffectiveNames());
|
names.add(it.toString());
|
||||||
}
|
}
|
||||||
return names;
|
return names;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue