Changeset 2961 in josm for trunk/src/org/openstreetmap/josm/gui/history
- Timestamp:
- 2010-02-10T15:23:17+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/history/HistoryBrowserDialog.java
r2936 r2961 108 108 } 109 109 110 public void unlinkAsListener() { 111 getHistoryBrowser().getModel().unlinkAsListener(); 112 } 113 114 /* ---------------------------------------------------------------------------------- */ 115 /* interface HistoryDataSetListener */ 116 /* ---------------------------------------------------------------------------------- */ 110 117 public void historyUpdated(HistoryDataSet source, PrimitiveId primitiveId) { 111 118 if (primitiveId == null || primitiveId.equals(browser.getHistory().getPrimitmiveId())) { … … 114 121 } 115 122 116 public void unlinkAsListener() {117 getHistoryBrowser().getModel().unlinkAsListener();123 public void historyDataSetCleared(HistoryDataSet source) { 124 closeAction.run(); 118 125 } 126 119 127 120 128 class CloseAction extends AbstractAction {
Note:
See TracChangeset
for help on using the changeset viewer.