Small fixes [stage]

This commit is contained in:
crschnick
2025-01-06 07:32:21 +00:00
parent c8edd10954
commit e252b4e2f0
3 changed files with 10 additions and 4 deletions
@@ -64,7 +64,9 @@ public class AppDialog {
PlatformThread.runLaterIfNeededBlocking(() -> {
modalOverlay.add(o);
});
waitForDialogClose(o);
if (wait) {
waitForDialogClose(o);
}
ThreadHelper.sleep(200);
} else {
var key = new Object();
@@ -83,11 +83,15 @@ public abstract class StorageElement {
lastModified = Instant.now();
dirty = true;
}
listeners.forEach(l -> l.onUpdate());
synchronized (listeners) {
listeners.forEach(l -> l.onUpdate());
}
}
public void addListener(Listener l) {
this.listeners.add(l);
synchronized (listeners) {
this.listeners.add(l);
}
}
public final void deleteFromDisk() throws IOException {
+1 -1
View File
@@ -1 +1 @@
14.0-55
14.0-56