Fix bug with add info popup for first time user at take offer screen

This commit is contained in:
Manfred Karrer 2014-10-06 11:58:48 +02:00
parent aa66d591ab
commit f485afec19

View file

@ -196,6 +196,11 @@ public class TakeOfferViewCB extends CachedViewCB<TakeOfferPM> {
@FXML @FXML
void onTakeOffer() { void onTakeOffer() {
presentationModel.takeOffer();
}
@FXML
void onShowPayFundsScreen() {
if (presentationModel.displaySecurityDepositInfo()) { if (presentationModel.displaySecurityDepositInfo()) {
overlayManager.blurContent(); overlayManager.blurContent();
List<Action> actions = new ArrayList<>(); List<Action> actions = new ArrayList<>();
@ -213,11 +218,6 @@ public class TakeOfferViewCB extends CachedViewCB<TakeOfferPM> {
actions); actions);
} }
presentationModel.takeOffer();
}
@FXML
void onShowPayFundsScreen() {
priceAmountPane.setInactive(); priceAmountPane.setInactive();
showPaymentInfoScreenButton.setVisible(false); showPaymentInfoScreenButton.setVisible(false);