|
|
@ -472,7 +472,7 @@ void BitcoinGUI::setNumConnections(int count) |
|
|
|
|
|
|
|
|
|
|
|
void BitcoinGUI::setNumBlocks(int count, int nTotalBlocks) |
|
|
|
void BitcoinGUI::setNumBlocks(int count, int nTotalBlocks) |
|
|
|
{ |
|
|
|
{ |
|
|
|
// don't show / hide progress bar and it's label if we have no connection to the network
|
|
|
|
// don't show / hide progress bar and its label if we have no connection to the network
|
|
|
|
if (!clientModel || clientModel->getNumConnections() == 0) |
|
|
|
if (!clientModel || clientModel->getNumConnections() == 0) |
|
|
|
{ |
|
|
|
{ |
|
|
|
progressBarLabel->setVisible(false); |
|
|
|
progressBarLabel->setVisible(false); |
|
|
|