Skip to content

Commit cc661b4

Browse files
committed
Merge pull request #3438
d2b6de0 qt: Make sure overviewpage button is pressed at startup (Wladimir J. van der Laan)
2 parents df840de + d2b6de0 commit cc661b4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/qt/bitcoingui.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,8 @@ void BitcoinGUI::createActions(bool fIsTestnet)
215215
historyAction->setShortcut(QKeySequence(Qt::ALT + Qt::Key_4));
216216
tabGroup->addAction(historyAction);
217217

218+
// These showNormalIfMinimized are needed because Send Coins and Receive Coins
219+
// can be triggered from the tray menu, and need to show the GUI to be useful.
218220
connect(overviewAction, SIGNAL(triggered()), this, SLOT(showNormalIfMinimized()));
219221
connect(overviewAction, SIGNAL(triggered()), this, SLOT(gotoOverviewPage()));
220222
connect(sendCoinsAction, SIGNAL(triggered()), this, SLOT(showNormalIfMinimized()));
@@ -331,6 +333,7 @@ void BitcoinGUI::createToolBars()
331333
toolbar->addAction(sendCoinsAction);
332334
toolbar->addAction(receiveCoinsAction);
333335
toolbar->addAction(historyAction);
336+
overviewAction->setChecked(true);
334337
}
335338

336339
void BitcoinGUI::setClientModel(ClientModel *clientModel)

0 commit comments

Comments
 (0)