some update/refresh fixes
[fanfix.git] / src / be / nikiroo / fanfix_swing / gui / DetailsPanel.java
index ced9c3b939f50d59e038bad8321faa17f001d23c..751e37f511c5ed58fda8a7f7aa1885495755e5ea 100644 (file)
@@ -85,11 +85,15 @@ public class DetailsPanel extends JPanel {
                if (info == null) {
                        name.setText(null);
                        opt.setText(null);
+               } else if (info.getMainInfo() == null) {
+                       name.setText("All the " + info.getType().toString().toLowerCase() + "s");
+                       opt.setText(info.getSecondaryInfo(true));
                } else {
                        final String myId = info.getId();
 
                        name.setText(info.getMainInfo());
                        opt.setText(info.getSecondaryInfo(true));
+
                        new SwingWorker<Image, Void>() {
                                @Override
                                protected Image doInBackground() throws Exception {