mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 01:41:11 +01:00
Merge pull request #6345 from Android-X13/fix-npe-in-offerbook
Prevent NPE when editing offer while not fully connected
This commit is contained in:
commit
44af373570
@ -733,7 +733,7 @@ abstract public class OfferBookView<R extends GridPane, M extends OfferBookViewM
|
||||
|
||||
private void onEditOpenOffer(Offer offer) {
|
||||
OpenOffer openOffer = model.getOpenOffer(offer);
|
||||
if (openOffer != null) {
|
||||
if (model.isBootstrappedOrShowPopup() && openOffer != null) {
|
||||
navigation.navigateToWithData(openOffer, MainView.class, PortfolioView.class, EditOfferView.class);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user