diff --git a/src/org/openstreetmap/josm/gui/dialogs/HistoryDialog.java b/src/org/openstreetmap/josm/gui/dialogs/HistoryDialog.java
index dc86151..a2983de 100644
a
|
b
|
public class HistoryDialog extends ToggleDialog implements HistoryDataSetListene
|
140 | 140 | public void showNotify() { |
141 | 141 | HistoryDataSet.getInstance().addHistoryDataSetListener(this); |
142 | 142 | DataSet.addSelectionListener(model); |
| 143 | if (Main.main.getCurrentDataSet() == null) { |
| 144 | model.selectionChanged(null); |
| 145 | } else { |
| 146 | model.selectionChanged(Main.main.getCurrentDataSet().getSelected()); |
| 147 | } |
143 | 148 | } |
144 | 149 | |
145 | 150 | @Override |