mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-12 00:44:35 +00:00
#841 Loop control for sound preview
This commit is contained in:
@@ -499,11 +499,8 @@ public class DecompiledEditorPane extends LineMarkedEditorPane implements CaretL
|
||||
@Override
|
||||
public void caretUpdate(final CaretEvent e) {
|
||||
if (!SwingUtilities.isEventDispatchThread()) {
|
||||
View.execInEventDispatch(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
caretUpdate(e);
|
||||
}
|
||||
View.execInEventDispatch(() -> {
|
||||
caretUpdate(e);
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user