change popup from warning to error on take offer error
This commit is contained in:
parent
77429472f4
commit
a3d3f51f02
1 changed files with 1 additions and 1 deletions
|
@ -649,7 +649,7 @@ public class TakeOfferView extends ActivatableViewAndModel<AnchorPane, TakeOffer
|
|||
|
||||
errorMessageSubscription = EasyBind.subscribe(model.errorMessage, newValue -> {
|
||||
if (newValue != null) {
|
||||
new Popup().warning(Res.get("takeOffer.error.message", model.errorMessage.get()))
|
||||
new Popup().error(Res.get("takeOffer.error.message", model.errorMessage.get()))
|
||||
.onClose(() -> {
|
||||
errorPopupDisplayed.set(true);
|
||||
model.resetErrorMessage();
|
||||
|
|
Loading…
Reference in a new issue