kopia lustrzana https://github.com/JOSM/MapWithAI
Fix issue where the sources would not be updated
Signed-off-by: Taylor Smock <tsmock@meta.com>pull/45/head
rodzic
ca0b8e479f
commit
faa031e49c
|
@ -213,8 +213,11 @@ public class MapWithAILayerInfo {
|
|||
if (this.finishListenerListenerList == null) {
|
||||
this.finishListenerListenerList = ListenerList.create();
|
||||
}
|
||||
boolean running = this.finishListenerListenerList.hasListeners();
|
||||
if (listener != null) {
|
||||
this.finishListenerListenerList.addListener(listener);
|
||||
}
|
||||
if (running) {
|
||||
return;
|
||||
}
|
||||
if (worker == null) {
|
||||
|
|
Ładowanie…
Reference in New Issue