Change order of binding after object creation

This commit is contained in:
Christoph Atteneder 2018-07-24 11:50:09 +02:00
parent 59551772a7
commit e3f85cb6e6
No known key found for this signature in database
GPG key ID: CD5DC1C529CDFD3B

View file

@ -465,9 +465,9 @@ public class MainView extends InitializableView<StackPane, MainViewModel> {
};
model.getWalletServiceErrorMsg().addListener(walletServiceErrorMsgListener);
btcSyncIndicator.progressProperty().bind(model.getBtcSyncProgress());
btcSyncIndicator = new JFXProgressBar();
btcSyncIndicator.setPrefWidth(305);
btcSyncIndicator.progressProperty().bind(model.getBtcSyncProgress());
ImageView btcSyncIcon = new ImageView();
btcSyncIcon.setVisible(false);