mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-18 19:28:08 -04:00
fix concurrent modification exception when trades added to main view
This commit is contained in:
parent
f9afd44345
commit
dd71423d95
2 changed files with 8 additions and 6 deletions
|
@ -217,7 +217,7 @@ public class MainViewModel implements ViewModel, HavenoSetup.HavenoSetupListener
|
|||
if (newValue) {
|
||||
tradeManager.applyTradePeriodState();
|
||||
|
||||
tradeManager.getObservableList().forEach(trade -> {
|
||||
tradeManager.getOpenTrades().forEach(trade -> {
|
||||
|
||||
// check initialization error
|
||||
if (trade.getInitError() != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue