mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-20 10:45:37 +00:00
#841 Loop control for sound preview
This commit is contained in:
@@ -124,12 +124,9 @@ public class SearchPanel<E> extends JPanel implements ActionListener {
|
||||
}
|
||||
|
||||
private void doUpdate() {
|
||||
View.execInEventDispatchLater(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
searchPos.setText((foundPos + 1) + "/" + found.size());
|
||||
listener.updateSearchPos(found.get(foundPos));
|
||||
}
|
||||
View.execInEventDispatchLater(() -> {
|
||||
searchPos.setText((foundPos + 1) + "/" + found.size());
|
||||
listener.updateSearchPos(found.get(foundPos));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user