Skip to content

Commit 042f9fa

Browse files
committed
qt: Show progress overlay when clicking spinner icon
Bring up the modal progress overlay when the user clicks the spinner icon in the task bar. I think this is the intuitive thing to do when that icon is clicked.
1 parent 827d9a3 commit 042f9fa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/qt/bitcoingui.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ BitcoinGUI::BitcoinGUI(const PlatformStyle *_platformStyle, const NetworkStyle *
200200
labelWalletEncryptionIcon = new QLabel();
201201
labelWalletHDStatusIcon = new QLabel();
202202
connectionsControl = new GUIUtil::ClickableLabel();
203-
labelBlocksIcon = new QLabel();
203+
labelBlocksIcon = new GUIUtil::ClickableLabel();
204204
if(enableWallet)
205205
{
206206
frameBlocksLayout->addStretch();
@@ -248,8 +248,10 @@ BitcoinGUI::BitcoinGUI(const PlatformStyle *_platformStyle, const NetworkStyle *
248248

249249
modalOverlay = new ModalOverlay(this->centralWidget());
250250
#ifdef ENABLE_WALLET
251-
if(enableWallet)
251+
if(enableWallet) {
252252
connect(walletFrame, SIGNAL(requestedSyncWarningInfo()), this, SLOT(showModalOverlay()));
253+
connect(labelBlocksIcon, SIGNAL(clicked(QPoint)), this, SLOT(showModalOverlay()));
254+
}
253255
#endif
254256
}
255257

0 commit comments

Comments
 (0)