mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 16:28:51 -05:00
* better error reporting when downloading subtitles
This commit is contained in:
parent
6979732bd4
commit
2845cd1c01
@ -442,14 +442,14 @@ class SubtitleAutoMatchDialog extends JDialog {
|
||||
setIcon(ResourceManager.getIcon("dialog.cancel"));
|
||||
setToolTipText(null);
|
||||
} else {
|
||||
setText(subtitleBean.getText());
|
||||
|
||||
if (subtitleBean.getError() == null) {
|
||||
setText(subtitleBean.getText());
|
||||
setIcon(subtitleBean.getIcon());
|
||||
setToolTipText(null);
|
||||
} else {
|
||||
setText(String.format("%s (%s)", subtitleBean.getText(), subtitleBean.getError().getMessage()));
|
||||
setIcon(ResourceManager.getIcon("status.warning"));
|
||||
setToolTipText(subtitleBean.getError().getMessage());
|
||||
setToolTipText(subtitleBean.getError().toString());
|
||||
}
|
||||
|
||||
if (!isSelected) {
|
||||
|
Loading…
Reference in New Issue
Block a user