Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Staking][GUI] Unlock wallet for staking dialogue on click #924

Conversation

Rock-N-Troll
Copy link

Related to pull request: #913 (and mentioned there as well. This is the separated pull request)

image

#913 (comment)

@Rock-N-Troll Rock-N-Troll changed the title unlock wallet for staking dialogue on click [Staking][GUI] Unlock wallet for staking dialogue on click Apr 7, 2021
@CaveSpectre11 CaveSpectre11 added Component: GUI Primarily related to the display of the user interface Tag: Encryption Wallet lock and unlock. Tag: PoS Related to Proof of Stake Tag: Waiting For Code Review Waiting for code review from a core developer labels Apr 11, 2021
@WetOne
Copy link
Collaborator

WetOne commented Apr 17, 2021

ack b8294ee

@codeofalltrades
Copy link
Collaborator

What is supposed to do? I clicked placed, the wallet seems for function the same.

@Rock-N-Troll
Copy link
Author

Clicking the toggle bottom left of screen will also open the unlock wallet password dialog as shown in the screenshot where as previously it would only show the notification that you should unlock wallet for staking

Copy link
Collaborator

@codeofalltrades codeofalltrades left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK b8294ee

@CaveSpectre11 CaveSpectre11 added Code Review: Passed and removed Tag: Waiting For Code Review Waiting for code review from a core developer labels Apr 25, 2021
UnlockPasswordDialog *dialog = new UnlockPasswordDialog(/*fUnlockForStakingOnly*/true, this->walletModel, mainWindow);
if(openDialogWithOpaqueBackground(dialog, mainWindow, 4)){
openToastDialog("Wallet unlocked for staking", mainWindow);
}else{
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: Follow consistent spacing to rest of the module (space between code and brackets

if () {
} else {

etc...

@codeofalltrades codeofalltrades merged commit 2207ed0 into Veil-Project:master Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Review: Passed Component: GUI Primarily related to the display of the user interface Tag: Encryption Wallet lock and unlock. Tag: PoS Related to Proof of Stake
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants