use of bisq.desktop.main.overlays.windows.UnlockArbitrationRegistrationWindow in project bisq-desktop by bisq-network.
the class ArbitratorRegistrationView method onTabSelection.
public void onTabSelection(boolean isSelectedTab) {
if (isSelectedTab) {
model.myArbitratorProperty.addListener(arbitratorChangeListener);
updateLanguageList();
if (model.registrationPubKeyAsHex.get() == null && unlockArbitrationRegistrationWindow == null) {
unlockArbitrationRegistrationWindow = new UnlockArbitrationRegistrationWindow(useDevPrivilegeKeys);
unlockArbitrationRegistrationWindow.onClose(() -> unlockArbitrationRegistrationWindow = null).onKey(model::setPrivKeyAndCheckPubKey).width(700).show();
}
} else {
model.myArbitratorProperty.removeListener(arbitratorChangeListener);
}
}
Aggregations