Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix stale trade statistics list view when new entries arrive #5122

Merged

Conversation

stejbac
Copy link
Contributor

@stejbac stejbac commented Jan 27, 2021

Ensure the trade statistics list in TradesChartsView doesn't go stale upon new statistics arrivals, by moving a fillList() call from the onChangeConfirmed currency combobox event handler to the listener of the selectedTradeStatistics TradesChartsViewModel field.

(Also avoid unnecessary use of an ObservableList as a temporary variable in the fillList() method.)

--

I first spotted this bug a little while ago and it appears to have been present since early November 2020, at least looking through the commit history, so it most likely affects both master and the current v1.5.5 release candidate.

Ensure the trade statistics list in TradesChartsView doesn't go stale
upon new stats arrivals, by moving a fillList() call from the currency
combobox onChangeConfirmed event handler to the selectedTradeStatistics
(TradesChartsViewModel field) listener.

Also avoid unnecessary use of an ObservableList as a temporary variable.
Copy link
Contributor

@chimp1984 chimp1984 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

Copy link
Contributor

@ripcurlx ripcurlx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK based on #5122 (review)

@ripcurlx ripcurlx merged commit 3781b5f into bisq-network:master Jan 29, 2021
@ripcurlx ripcurlx added this to the v1.6.0 milestone Feb 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants