Skip to content

Conversation

@fsb4000
Copy link
Contributor

@fsb4000 fsb4000 commented Jan 23, 2015

Bug description:

  1. Run Bitcoin-Qt
  2. Open CoinControl
  3. Click mouse here(Don't select any input) here
  4. Press "space"
  5. Result result

Fix:
this->currentItem() returns the current item in the tree widget and NULL if no selected items.
So we don't try setCheckState for NULL.

As
novacoin-project/novacoin@baf80c2
novacoin-project/novacoin#120

@fanquake
Copy link
Member

Recreated the bug, and the provided patch does indeed fix the behaviour. ACK

@jonasschnelli
Copy link
Contributor

@laanwj
Copy link
Member

laanwj commented Jan 23, 2015

Thanks, good catch

@laanwj laanwj added this to the 0.10.0 milestone Jan 23, 2015
@laanwj laanwj merged commit 0eade74 into bitcoin:master Jan 23, 2015
laanwj added a commit that referenced this pull request Jan 23, 2015
0eade74 fix crash: CoinControl "space" bug (fsb4000)
laanwj pushed a commit that referenced this pull request Jan 23, 2015
@fsb4000 fsb4000 deleted the patch-1 branch February 8, 2015 14:42
jyap808 added a commit to jyap808/jumbucks that referenced this pull request Sep 14, 2015
This is a port of the pull bitcoin/bitcoin#5700 made by fsb4000 for
Bitcoin Core to fix the crash problem: CoinControl "space" bug.
sigmike pushed a commit to sigmike/peercoin that referenced this pull request Jun 17, 2017
This is a port of the pull bitcoin/bitcoin#5700 made by fsb4000 for Bitcoin Core to fix the crash problem: CoinControl "space" bug.
aistrych added a commit to aistrych/Pink2 that referenced this pull request Dec 18, 2018
aistrych added a commit to aistrych/Pink2 that referenced this pull request Jan 16, 2019
reddink pushed a commit to reddcoin-project/reddcoin-3.10 that referenced this pull request May 27, 2020
Just like novacoin-project/novacoin@baf80c2

Github-Pull: bitcoin#5700
Rebased-From: 944c256
(cherry picked from commit ed4206a)
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants