mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-22 14:42:37 +01:00
Remove autoSelectArbitratorsCheckBox
This commit is contained in:
parent
8bcefaa135
commit
308d9d63a4
1 changed files with 2 additions and 10 deletions
|
@ -94,7 +94,7 @@ public class PreferencesView extends ActivatableViewAndModel<GridPane, Preferenc
|
|||
private ComboBox<TradeCurrency> preferredTradeCurrencyComboBox;
|
||||
private ComboBox<BaseCurrencyNetwork> selectBaseCurrencyNetworkComboBox;
|
||||
|
||||
private CheckBox useAnimationsCheckBox, autoSelectArbitratorsCheckBox, avoidStandbyModeCheckBox,
|
||||
private CheckBox useAnimationsCheckBox, avoidStandbyModeCheckBox,
|
||||
showOwnOffersInOfferBook, sortMarketCurrenciesNumericallyCheckBox, useCustomFeeCheckbox;
|
||||
private int gridRow = 0;
|
||||
private InputTextField transactionFeeInputTextField, ignoreTradersListInputTextField, referralIdInputTextField;
|
||||
|
@ -180,7 +180,7 @@ public class PreferencesView extends ActivatableViewAndModel<GridPane, Preferenc
|
|||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
private void initializeGeneralOptions() {
|
||||
TitledGroupBg titledGroupBg = addTitledGroupBg(root, gridRow, 10, Res.get("setting.preferences.general"));
|
||||
TitledGroupBg titledGroupBg = addTitledGroupBg(root, gridRow, 9, Res.get("setting.preferences.general"));
|
||||
GridPane.setColumnSpan(titledGroupBg, 4);
|
||||
|
||||
// selectBaseCurrencyNetwork
|
||||
|
@ -282,10 +282,6 @@ public class PreferencesView extends ActivatableViewAndModel<GridPane, Preferenc
|
|||
UserThread.runAfter(() -> deviationInputTextField.setText(formatter.formatPercentagePrice(preferences.getMaxPriceDistanceInPercent())), 100, TimeUnit.MILLISECONDS);
|
||||
};
|
||||
|
||||
// autoSelectArbitrators
|
||||
autoSelectArbitratorsCheckBox = addLabelCheckBox(root, ++gridRow,
|
||||
Res.get("setting.preferences.autoSelectArbitrators"), "").second;
|
||||
|
||||
// ignoreTraders
|
||||
ignoreTradersListInputTextField = addLabelInputTextField(root, ++gridRow,
|
||||
Res.get("setting.preferences.ignorePeers")).second;
|
||||
|
@ -649,9 +645,6 @@ public class PreferencesView extends ActivatableViewAndModel<GridPane, Preferenc
|
|||
|
||||
resetDontShowAgainButton.setOnAction(e -> preferences.resetDontShowAgain());
|
||||
|
||||
autoSelectArbitratorsCheckBox.setSelected(preferences.isAutoSelectArbitrators());
|
||||
autoSelectArbitratorsCheckBox.setOnAction(e -> preferences.setAutoSelectArbitrators(autoSelectArbitratorsCheckBox.isSelected()));
|
||||
|
||||
// We use opposite property (useStandbyMode) in preferences to have the default value (false) set as we want it,
|
||||
// so users who update gets set avoidStandbyMode=true (useStandbyMode=false)
|
||||
avoidStandbyModeCheckBox.setSelected(!preferences.isUseStandbyMode());
|
||||
|
@ -703,7 +696,6 @@ public class PreferencesView extends ActivatableViewAndModel<GridPane, Preferenc
|
|||
// useStickyMarketPriceCheckBox.setOnAction(null);
|
||||
sortMarketCurrenciesNumericallyCheckBox.setOnAction(null);
|
||||
showOwnOffersInOfferBook.setOnAction(null);
|
||||
autoSelectArbitratorsCheckBox.setOnAction(null);
|
||||
resetDontShowAgainButton.setOnAction(null);
|
||||
avoidStandbyModeCheckBox.setOnAction(null);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue