mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-02 11:46:11 -04:00
Re-enable create sell offer
This commit is contained in:
parent
6272b360c0
commit
41143a81d4
2 changed files with 5 additions and 11 deletions
|
@ -187,16 +187,10 @@ public class OrderBookViewCB extends CachedViewCB<OrderBookPM> {
|
||||||
@FXML
|
@FXML
|
||||||
void createOffer() {
|
void createOffer() {
|
||||||
if (presentationModel.isRegistered()) {
|
if (presentationModel.isRegistered()) {
|
||||||
if (presentationModel.getDirection() == Direction.BUY) {
|
|
||||||
createOfferButton.setDisable(true);
|
createOfferButton.setDisable(true);
|
||||||
((TradeNavigator) parent).createOffer(presentationModel.getAmountAsCoin(),
|
((TradeNavigator) parent).createOffer(presentationModel.getAmountAsCoin(),
|
||||||
presentationModel.getPriceAsCoin());
|
presentationModel.getPriceAsCoin());
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
Popups.openWarningPopup("Under construction", "At the moment only the creation of buy offers is " +
|
|
||||||
"implemented.");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else {
|
else {
|
||||||
openSetupScreen();
|
openSetupScreen();
|
||||||
}
|
}
|
||||||
|
|
|
@ -528,7 +528,7 @@ public class MessageFacade implements MessageBroker {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
log.error("Get invalidationTimestamp from DHT failed. Data = " + data);
|
//log.error("Get invalidationTimestamp from DHT failed. Data = " + data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (getFuture.data() == null) {
|
else if (getFuture.data() == null) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue