Search in sources :

Example 1 with UnlockArbitrationRegistrationWindow

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);
    }
}
Also used : UnlockArbitrationRegistrationWindow(bisq.desktop.main.overlays.windows.UnlockArbitrationRegistrationWindow)

Aggregations

UnlockArbitrationRegistrationWindow (bisq.desktop.main.overlays.windows.UnlockArbitrationRegistrationWindow)1